Use the brakes gradually
Accelerate out of the wobble
Grip the handlebars firmly and close the throttle gradually
Downshift