Can yeast infection prevent period

???? I hope not I have not treated it yet in fear of hurting possible baby