Every medication is different.
...Some are safe with no harmful effects, while others can be extremely harmful to a fetus. Contact your provider to make sure you are on appropriate meds. Don't stop anything you routinely take for medical conditions without first discussing with your provider. Doing so can sometimes cause dangerous situations for you or your baby.