Yeast infections

Anyone get recurring yeast infections while trying to conceive? Anything to prevent? Is diflucan okay to use? Would a vaginal cream affect sperm?