If the front right wheel of a vehicle runs off the pavement, a driver should ease off the accelerator, allow the vehicle to slow down, and gently steer back onto the pavement.

If your vehicle’s wheels drift off the pavement onto the shoulder, you should grip the wheel firmly, ease your foot off the gas pedal, and brake gently. After checking for traffic behind you, gently steer the vehicle back onto the pavement.
DMV Writen Test