Yeast infection

What causes yeast infections? I feel like I get them WAY too often :( Anything I can do to prevent myself from getting it?