Early pregnancy sign

I'm 6 days away from my AF an I got a yeast infection this morning an had pulling sensation on my right side for like 3 mins then it went away, I have been trying to get pregnant for 3 months did anyone get a yeast infection early in pregnancy???