Usually, your immune system keeps yeast under control. When your body can't control yeast, it can multiply. This causes a yeast infection.