Electrical equipment and appliances. Crawl under a desk or sturdy table and hold onto it. If it moves, move with it. Watch out for falling plaster or ceiling tiles. Kitchens and garages lined with cabinets and shelves holding small objects are generally unsafe during earthquakes.
Hallways are usually safer, especially if they're free of furnishings and hanging objects.
If you must be in the kitchen, stay away from the refrigerator, stove, and overhead cupboards. Stay clear of falling objects and find a place to duck, cover, and hold on. If you're driving , pull over and stop. Avoid overpasses, power lines, and other hazards. Stay inside your vehicle until the shaking is over.