Fluconazole does work on yeast infections as it is an antifungal. Clindamycin is different and is an antibiotic. It fights bacteria, not yeast or fungus. Clindamycin can create a situation in which you get a yeast infection. It's not used to treat a yeast infection but fluconazole is.