The commonest heart defects in children are congenital heart defects, which the child is born with. Major congenital heart defects can be detected by fetal echocardiography during the pregnancy itself. After the baby’s birth, critical heart defects can be diagnosed and treated within a few hours of birth.