how to get rid of regular yeast infections??

for the past months ive been getting yeast infection right before my period starts. is there a way for me to rid regular yeast infections? also ive noticed this occurred around the time ive started becoming sexually active, does this have any correlation?