1st don't panic
2nd go under your table or desk make sure that your table/desk is strong or unbreakable.
3rd put some thick book then put it on your head.
3th If the earthquake is done run on the ground but make sure the place is far from the trees and building that can fall any time.
remember do not shout and panic.