yeast infections and birth control

Codi
So I started taking birth control about 6 months ago before that I had never had a yeast infection now every time I start a new pack I get one tghey are miserable. Is there anything I can do has anyone else had this problem before?