Yeast infection from antibiotics.

For the past couple years if I take an antibiotic, usually due to sinus infections, I end up with a yeast infection. Anyone else get yeast infections from antibiotics? Is there a way to prevent this from happening?