Performing an ECG in neonates involves placing electrodes on the infant's chest, limbs, and sometimes the back. The process is quick and non-invasive, usually taking around 5-10 minutes. Special consideration is given to ensure the infant is calm to avoid motion artifacts that could affect the results. The recorded data is then analyzed to detect any abnormalities.