Notify the police.
Seek medical attention.
Document the incident.
Gather information.
Report the accident to the rideshare company.
Consult a lawyer.