For me panning shots are often try and error shots. So usually I make a whole series using shutter priority mode with different time settings. Surprisingly this “one shot picture” of an ambulance in Madrid resulted in a nice panning photo.

While this panning picture was made by following the moving car sideways you can achieve a similar effect by using the zoom as I did here.