Performing an ECG on a neonate involves placing small adhesive electrodes on the infant's chest, arms, and legs. These electrodes are connected to the ECG machine, which records the heart's electrical activity. The procedure is quick and painless, although it requires the baby to remain still for accurate readings.