Sore during pregnancy

I am 20 weeks pregnant with my first baby. For the past two days, it feels like someone punched me in the vagina. It’s similar to the swelling and pain I’d feel during a bad period. Even my butt bones can be tender and my upper thighs. I am a bit worried because I had sex two days ago with the father of the baby. He’s been treating me like crap since I was 10 weeks pregnant and I am now paranoid maybe he gave me something and has seen another woman and not told me. I just don’t know what to think? It’s quite uncomfortable.