Context:
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 an evacuation plan.
More:
http://emergency.cdc.gov/disasters/earthquakes/during.asp