Sex hurts

I’m 9+5 and sex hurts. If it isn’t one thing, it’s another. My hips, my ribs, my vagina. I don’t think my boyfriend understands either, and I get that it’s frustrating but instead of being understanding and sympathetic when I have to stop, he gets shitty and makes me feel guilty. I don’t want any “break up with him” comments because other than this he’s perfect, I just need to know if there’s anything I can do to make it less painful? Thankyou x