I have been on many different meds while pregnant most related to a herniated disk in my back. I can tell you from experience that in moderation it is safe. Trust in your doctor as long as they are aware of the pregnancy
, they will reference "Drugs in pregnancy
and Lactation" which gives the category for all meds and possible effect.