An echocardiogram is often recommended if a newborn exhibits symptoms such as cyanosis (bluish skin), difficulty in breathing, poor feeding, or if there's a known family history of heart defects. It’s also used to monitor preterm infants who are at higher risk for heart problems.