Sexual Burning?

I’ve been in this relationship for almost a year. While having sex, it doesn’t burn or itch at all. When he “finishes” inside of me sometimes (almost always right before my period starts) it burns like the worst yeast infection I’ve ever had. As soon as he pulls it out it stops. I panicked and went and got tested for every infection they can test for and it all came back negative. My doctor didn’t really go into much detail about why it could be happening. Just that it wasn’t a STI/STD or yeast/urinary infection. Has anyone else experienced this? Is it a PH thing? How can I fix it?