Yeast help please.

Long story short I found out I had diabetes through a yeast infection from hell that wouldn’t go away. I found out about 2-3 months ago. No matter what I do I still keep getting these yeast infections. So painful and itchy and uncomfortable. I take my meds accordingly and made diet changes. I’m currently only on Metformin. Idk what else to do. Did anyone else have this problem and did it ease up?