The answer turns on the fact that the danger can't be removed: fire, exposed wires, a natural gas or gasoline leak, a stream of traffic. Before helping, you check whether the scene is safe for you and for others. If you can't remove the danger on your own, you don't go near the injured; you call an ambulance, the fire department or the police right away and tell them what the danger is. Bystanders are kept away too: anyone who enters the danger zone may become injured themselves and give the rescuers more work