yeast infection

Sam
Has anyone else had a yeast infection and been prescribed a pill ?? I was prescribed a pill and after looking it up high risk of miscarriage and other stuff