Recurring yeast infections?

Does anyone know how to get rid of recurring yeast infections for good? I take a probiotic and eat yogurt but I keep getting them. I took 2 diflucan a couple of weeks ago and I’m having symptoms again, the swab came back positive for candida so the ob prescribed 2 more diflucan. It doesn’t seem to be getting rid of it though, I’ve tried boric acid as well. I’ve been dealing with yeast on and off for years now and I can’t seem to get rid of it. My blood sugars are also normal.