Don't run or panic. Stay where you are. If outdoors, stay outdoors. If indoors, stay indoors.
Most injuries occur as people are entering or leaving buildings.
If the earthquake strikes when you are indoors. Stay away from glass, windows, and outside doors. If in a high rise building, don't use elevators because power may fail. Don't be surprised if fire alarms or sprinkler systems go on. If you must leave the building choose your exit carefully.