Although some prescription and OTC medications are safe to take during pregnancy, a pregnant woman should tell her doctor about all prescription and over-the-counter medications, and herbal or dietary supplements she is taking or planning to take. This will allow her doctor to weigh the risks and benefits of a medication during pregnancy. In some cases, the doctor may recommend the continued use of specific medications, even though they could have some impact on the fetus. Suddenly stopping the use of a medication may be more risky for both the mother and fetus than continuing to use the medication while under a doctor's care. 140 This could also include medications to treat substance use disorders—something that is discussed in further detail in the " Sex and Gender Differences in Substance Use Disorder Treatment ."