Balancing pH

I had upset the pH of my vagina and think I developed a thrush infection, I got my period today should this regulate it and will it clear up on its own??