You definitely want to exchange contact information with any bystanders or witnesses. You also must exchange the following information with the other driver: names, addresses, email addresses, phone numbers, and insurance car insurance information.
You also want to take pictures at the site of the accident. If there’s any damage to your vehicle you want to document that. If there are any hazardous road conditions from the weather or construction then you will also want to document those on camera. Lastly, if you have been injured or if anyone else was injured, then you will need to take pictures of the injuries or wounds. Taking photos on your phone is a smart idea when you have been involved in a car accident.