Yeast infections can be triggered by a variety of medications including oral contraceptives, antibiotics, and steroids. All these medications can cause a weakened immune system that allows unwelcomed bacterial infections to grow.