Question: do if someone smashes car window?
Answer: Document the damage.
Report the incident to the police.
Cancel credit cards, deactivate your phone and place a fraud alert (if valuables were left in the car)
File an insurance claim.
Replace your car window.