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