Antenatal and after-birth checks should pick up pulmonary stenosis in a baby. If they haven't, but your baby shows signs of a heart defect, then see a doctor immediately.
Attribution: Avallain