I'm scared to do this alone..

I'm so scared to do this alone.. 2 years ago i met the most amazing man. He was perfect in every single way. When we found out i was pregnant, and that my pregnancy was high risk he wanted me to quit my job. I quit because my baby and their health was the most important thing to me. Well a few weeks ago things got way out of hand and he hit me. Of course I left, and I'm currently staying on my moms couch until i can get a place of my own. I've been searching for jobs everywhere that wont put me at risk, but I'm getting absolutely nothing. I dont want to put my baby at risk, but i have to make money to support them. I'm just so scared and I'm at a total loss. I don't want to fail my child, and i already feel like i have.