Scientists don't have all the answers yet as to what causes heart defects other than random gene mutations. But, there are things that place you at higher risk (smoking, alcohol, certain medications, etc.) and these should be avoided during pregnancy. There are otherwise no proven strategies to prevent CHD.
You should follow your healthcare provider’s instructions during pregnancy, including: