yeast infection

I'm starting to get a yeast infection does anyone know how to prevent it before it actually gets here?