If your motorcycle begins to wobble, you should:

Trying to accelerate out of a wobble is dangerous and will only make your motorcycle more unstable. Instead, grip the handlebars firmly (without trying to fight the wobble), gradually close the throttle to slow down, and move your weight as far forward and downward as possible. Pull off the road as soon as you can.
DMV Writen Test