Call the police immediately and let the driver know that you are there.
If you are able to, try to find a way to help the driver yourself while waiting for authorities to arrive. But if this is not possible, then attempt to reassure the driver that he will be okay, because in such a situation, the driver can panic and it can result to a bad result