deRaNged and krushing are right with Autopan or just pan automation on a track.
You can also can also use a Tremolo if you don't have an Autopan, as it's usually a more common plugin.
Tremolo is the modulation of amplitude (volume) across time. A stereo Tremolo plugin will usually let you offset this across the left and right output, which is basically a pan effect.