Yeast infection

I found out this week that I had a yeast infection and my doctor prescribed Diflucan has anyone tried it before?? Will it harm my baby??