Brake firmly until the swinging stops
Steer sharply in the opposite direction to the caravan's swing
Ease off the accelerator to slow down
Accelerate until the swinging stops