Check and eliminate all possible pain sources- saddle fit, dental health, bit and bridle fit. Check for back pain, and leg pain. As you feel horse begin to shift for the rear, encourage forward movement. Give the horse another job- instead of standing still to rear, ask that he move his feet in another direction (forward.) use caution!!