Yikes

If I have a yeast infection and my period comes what happens to the infection?