Nystatin during pregnancy

Mariclaudia
Hi ladies im about 4wks pregnant with a really ugly vaginal infection. I just got prescribed nystatin in oral tablets. Im just worried about the safety of this medication. Have any of you used it during pregnancy?