What do I do?

Okay so in every sexual relationship I’ve had sex hurts. And I know its normal sometimes but I don’t know if it’s me or the guys? It won’t hurt when it’s in but when they go deep and go all the way in it hurts bad. I think it’s because they’re hitting my wall and that’s what hurts but I’m not sure. Me and my Ex used to be frequent when we were together and I thought it was something I would get used to but never really did. Don’t get me wrong sex feels good but when it hurts it makes it extra tiring and sometimes I just can’t last long. What do I do any advice? Is there something wrong with me?