what are the 3 steps to take when encountering an emergency situation?