Finally had sex after 2 months

Ka

I’m 33 weeks pregnant and it’s been two months since hubby and I have had sex. It was great except after. I went to the bathroom to pee and it burned so badly and I was instantly swollen. It’s now the next morning and I’m still swollen. Why does it hurt so bad after?