Menstrual cup and yeast infections.

I’ve been using the cup for about 5 months now. For the first 2 months everything went fine, but the last three months have been awful. At the end of my period I have been getting yeast infections. I’ve never had this problem before and I’m wondering if my cup is causing it?? I’m going to switch back to tampons for my next period to see if that changes anything. Have you guys had this problem?