yeast infection

Samantha
Will a yeast infection go away on its own? My period is due to start tomorrow, will that flush it out? I thought it was gone, with no treatment, but had sex 2 tines, and my cervix was swollen. Please help!