Yeast infection :/

Every month right before my period is starting, I get terrible yeast infections.. TMI I know but they hurt really bad, and I was curious if anyone knows how to cure them?! :/ in serious need of help!!!