Did you have insurance?
Did the other driver have insurance?
File a claim with the other driver's insurance, and they will pay for the totaled car and for the medical bills, as well as the cost of the pain meds.
Was there something you wanted beyond what you lost? It was an accident...