yeast infection before period?

Dev
I had what seemed like a yeast infection last week. Itchy & just a tad bit of White discharge but then I started my period before I could get some meds and I didn't think I could use tamping while using the meds so I was going to wait it out. Well my periods done and my yeast infection symptoms seem to be gone too. Can they resolve themselves??