Before medications are approved for use, they undergo extensive testing in animals and, to some extent, in humans. Animal studies provide insights into potential teratogenic effects, and clinical trials involving pregnant women help assess risks. Regulatory agencies evaluate these data to determine the safety of medications during pregnancy and assign pregnancy categories.