Painful Swollen vagina during/after sex

TMI. For the last couple weeks sex has been really uncomfortable and painful. Over night, my vajay felt super tight making penetration painful. I wrote it off the first couple times thinking it was dryness but after i tried lube and it didnt help i decided to check things out. I realized i was super swollen and it felt raw. The only time i have these symptoms is during sex. Outside of this no problems. Its dissapointing bc so far its making it a painful and unpleasurable experience. Has anyone experienced it? What helped? Will it go away? I heard it could be a result of extra blood flow and hormones but just want to make sure its not an infection or something. Im currently 27 weeks but started around 25 weeks