How do I get out?

I’m a 25 year old military wife with no college degree. I have an 18 month old daughter and I’m 7 months pregnant. My husband is a short tempered, rude asshole to everyone. He is everything I dont want. He treats our daughter great. He loves her a lot and she loves him. He treats me poorly. I’m always on edge around him. He snaps randomly and the smallest things. He’s always angry. He’s horny all the time and I don’t have sex with him. There’s no attraction because of how poorly he treats me. A few months ago he took cash out of the bank account, told me he was going to his parents house and found a gay massage therapist who does erotic massages. I woke up In the middle of the night and had a feeling to check his phone. So I did. I saw he had a text free app. There were messages between two therapist. I saw on Valentine’s Day as we were out to dinner with our daughter he was texting one setting up an appointment. In the messages he tells the guy he had a really big dick and he wanted to make another appointment. I confronted him about it after I took pictures of everything. He told me they were both naked and the therapist was rubbing his penis on my husbands ass. That’s it. It didn’t go further. He told me he isn’t gay. He endured a lot of Trauma from his parents where he didn’t feel love and he found somebody in high school to fill that void who was a man. We are still fighting everyday. He’s still treating me crappy. He still give me attitude, doesn’t treat me good. Isn’t romantic. Doesn’t help me out much and I’m losing it. I’m losing myself to this angry, stressed unhappy woman I don’t want to be. How can I get out of this? I want to raise my daughters. I want to be able to stay home with them as much as I can. What should I do?