What should I do immediately after a car accident?

If possible, move everyone to a safe location. Check for injuries and call 911 if anyone is hurt. Exchange contact and insurance information with the other driver.