If you have the bad luck to be hit by a car, but still have your wits about you, there are a number of things you should do.
According to LifeHacker, the very first thing to do is to call the police, even if you think you're OK.
Second, get the driver's insurance details and contact information. Also, collect the details of any witnesses.
Third, file a police report and get yourself checked out by a doctor immediately. You may be in shock!
Finally, don't post the information immediately on social media!
The driver's insurance company may accuse you of not having paid attention, because you were on your phone!