Pull over to a safe place.
Dial 911 immediately and wait for law enforcement to arrive.
Get witness names and contact information.
Get the names, addresses and phone numbers of those involved.
Take photos of all cars involved.
Seek treatment for any and all medical injuries.
Take photos of your injuries and include your face in them.
Take notes about what happened.