First, ensure your safety and seek medical attention. Document the accident scene, take photos, gather contact information from witnesses, and report the accident to the police. Contact a California pedestrian accident lawyer as soon as possible to protect your legal rights.