SEX HURTS LIKE A BITCH

So I'm 31 weeks pregnant, and me and my boyfriend decided to have sex today because it been sooooooooooo long. So it was feeling good until he went to far and it was hurting me and we just figured he was hitting my cervix so he started not going in all the way but I was still in pain on the inside, like in the back, the roof of my vagina.

I'm sorry how this is worded, I have no other way to explain

Someone please tell me there's nothing wrong and that this is normal, because I'm kind of worried there's something wrong in there.