It hurts when I pee :(

Angelica

I’m 23 weeks pregnant and sex hasn’t been something I’ve been wanting since I was about 3 months pregnant. When I do come to want it, I either can’t get wet or I can but it goes away mid sex. It’s very rare now if I can stay wet throughout a whole session. No matter what the situation is, every time I pee after it burns/hurts for like the next 5 bathroom breaks. Without sex, I can pee without it hurting so I don’t feel like it could be a uti. Does anybody have any ideas of what could cause it to hurt?