Surgical repair is required in neonates when conservative treatments are insufficient to correct the disorder, or when the condition poses an immediate risk to the infant's life. Common scenarios that necessitate surgery include severe congenital heart defects, intestinal obstructions, and certain types of birth defects such as cleft lip and palate.