yeast infections

what causes yeast infections, how do you prevent them, how do you treat them, and what happens when you get one?