According to ACOG, medication is prescribed in about one-third of people who experience heart disease in pregnancy. Doctors prescribe these medications carefully, weighing the risks and benefits during pregnancy and for the fetus.