Pull over to the side of the road, stop, and set the parking brake.  Avoid overpasses, bridges, power lines, signs and other hazards.  Stay inside the vehicle until the shaking is over. Resume driving when the shaking has stopped, keeping your speed down.  Look out for debris on the roadway and prepare for aftershocks.  If a power line falls on the car, stay inside until a trained person removes the wire.

In a stadium or theater:
Stay at your seat and protect your head and neck with your arms. Don’t try to leave until the shaking is over. Then walk out slowly watching for anything that could fall in the aftershocks.

Near the shore:
Drop, cover and hold on until the shaking stops.  Estimate how long the shaking lasts.  If severe shaking lasts 20 seconds or more, immediately evacuate to high ground as a tsunami might have been generated by the earthquake. Move inland 3 kilometers (2 miles) or to land that is at least 30 meters (100 feet) above sea level immediately.  Don't wait for officials to issue a warning.  Walk quickly, rather than drive, to avoid traffic, debris and other hazards.
Below a dam:
Dams can fail during a major earthquake. Catastrophic failure is unlikely, but if you live downstream from a dam, you should know flood-zone information and have prepared an evacuation plan.
After a major Earthquake:
Electrical, water, transportation, and other vital systems can be disrupted for several days after a large earthquake.  Emergency response agencies and hospitals could be overwhelmed and unable to provide you with immediate assistance.  Providing first aid and having supplies will save lives, and will make life more comfortable, and will help you cope after the next earthquake.
If power is off, plan meals to use up refrigerated and frozen foods first. If you keep the door closed as much as possible, the food in your refrigerator and freezer may be good for a several days.
If you smell Gas, turn the gas valve off.
Listen to your radio for safety advisories.