Preparing and practicing for emergencies