Every time I’m on antibiotics I get a yeast infection. Brand name Diflucan works, but generic Fluconazole doesn’t (even though Diflucan is Fluconazole). Can someone explain why? Is it something to do with the fillers/inactive ingredients?

Also, I’ve noticed cranberry pills in the pharmacy. My doctor used to tell me to drink cranberry juice & eat yogurt when I am on antibiotics, but I can’t stand either (horrible childhood memories of the stuff being forced down my throat for UTI’s). If I started taking cranberry pills would that lower my chances of getting a YI when on antibiotics?