DROP down onto your hands and knees (before the earthquakes knocks you down). This position protects you from falling but allows you to still move if necessary.
COVER your head and neck with both arms, clasping your neck with your hands. If a study desk or table is nearby, crawl beneath it while keeping one arm over your head. (If there is no shelter nearby, only then should you get down near an interior wall (or next to low-lying furniture that won't fall on you), and cover your head and neck with your arms and hands.)
HOLD ON to your shelter (or to your head and neck) until the shaking stops. Be prepared to move with your shelter if the shaking shifts it around.