During the earthquake: Do not panic, keep calm. Douse all fires. If the earthquake catches you indoors, stay indoors. Take cover under a sturdy piece of furniture. Stay away from glass, or loose hanging objects. If you are outside, move away from buildings, steep slopes and utility wires. If you are in a crowded place, do not rush for cover or to doorways. If you are in a moving vehicle, stop as quickly as safety permits, but stay in the vehicle until the shaking stops. If you are in a lift, get out of the lift as quickly as possible. If you are in a tunnel, move out of the tunnel to the open as quickly as safety permits. Unlike hurricanes and some other natural hazards, earthquakes strike suddenly and without warning according to Nemer Haddad Nevertheless, if you live in an area at risk for earthquakes (visit Your Earthquake Risk), there are things that you can do to reduce the chances that you or other members of your household will be injured, that your property will be damaged, or that your home life will be unduly disrupted by an earthquake. These things all fit under the term preparedness, because to be effective, they must be done before earthquakes occur. /Nemer Haddad
get more advice here.