See "How to Survive an Earthquake" by Doug Copp, Rescue Chief and Disaster Manager of the
American Rescue Team International (ARTI), and United Nations expert in Disaster Mitigation for two years. Lie in the Fetal position next to a large object but not under it, as it will get crushed, but the ceiling will be supported by the large crushed object and create a space. For example, lay in the fetal position next to your car, bed, or in the aisles at school between the desks. Avoid stairs and doorways, and its best to be near the perimeter of the building so you can escape once the earthquake is over.