Any type of medication during pregnancy is not recommended, not unless it’s needed, at which point you should check with your doctor before taking any prescription, over-the-counter medications, or supplements. This is because medications can cause complications to the mother and unborn baby.