question ?!?!?! what if...

if I am pregnant and have a yeast infection and I'm taking the cream applicant to cure it; will that affect the baby in any way?