My ex ruined my life?

I was with this guy for a couple months. He ended up being very abusive. He choked me. Beat me at one point I even had a black eye, and my face was swollen I had a concussion from that one time he hit me. He kicked me with his feet while I was on the floor. That relationship made me became so depressed. I went to the psychiatrist I got on medication for antidepressants I ended up leaving the relationship. He started to stalk me sending text messages saying that if I don’t talk to him, he will kill himself. One day while I was coming from work, I stopped somewhere to get food. He was probably stalking me somewhere. He got in my car that’s when he forced me to drive him somewhere out of public view and he started to choke me. I defended myself. I was afraid if I didn’t he was going to kill me, and that’s he got mad, he started to destroy my car a car that I spent money saving to buy when I called the cops. The cops came. They observed the marks on him, and they observed the marks on me. The cops ended up, arresting me because I didn’t have marks on me and he had marks on him , I went to jail for three days got bonded out. I’m currently on house arrest. I got charged with assault with deadly weapon and facing years in prison I got fired from my job. I could feel my depression starting to get worse and worse. I don’t know what to do , feel like I’m about to lose my mind

Updates
9 mo
I currently have a lawyer working on the case. I’m just so hurt because I was such a good person to him and he did nothing but put me through hell I currently take meds for anxiety and depression. I feel like the medication are not working anymore. I don’t know what to do.
My ex ruined my life?
Post Opinion