What are the different preventive measures before, during, and after an earthquake?