Medications can cross the placenta and potentially affect the developing fetus. The impact depends on factors like the type of medication, dosage, timing during pregnancy, and the mother's metabolism. Some medications can cause teratogenic effects, leading to congenital anomalies or developmental issues.