Ftm taking antibiotics...

Charity • Wife. Mom of both💙💗. Currently pregnant with twins🤰🏼.
Okay so I am a FTM and my OB prescribed me two different kind of antibiotics but did not prescribe be anything for a yeast infection if these antibiotics cause one... My question is... Can pregnant women take things for yeast infections or is that why it was prescribed to me? TIA!