Has anyone tried Diflucan for a yeast infection?

I just took Diflucan for a yeast infection, does it really work?