Re-establishing the balance in the gut and vagina can be quite tricky. These 2 being so close to one another they mutually contaminate.
I am assuming you are a female.
1st you need to cope with the reproductive system.
I have not tried much chemical antifungal. I'd rather stick to the natural ones and my best solution was to use garlic. Inserting a little slice of garlic into my vagina every day did not only relieve the reproductive system but also the guts later on.
Mineral deficiency and vitamin deficiency (B-C -D E) can be the culprit - only when the whole system gets back to balance do the right bacteria set in.
My solution was to use supplements and clean the cleansing organs one at a time :- liver, colon, kidneys and then add probiotics - the best form which worked for me being the sauekraut