After ensuring your safety and seeking medical attention if needed, it's crucial to document the scene. Take photos, gather witness contact information, and report the accident to the police. Avoid admitting fault or discussing the accident with anyone other than law enforcement. Finally, consider consulting with a legal professional to understand your rights and potential next steps.