Some newborns may have a hole in the abdominal wall near the groin, which often closes on its own. This is called an inguinal hernia. If the hole does not close and is left untreated, there is a risk of the intestines coming out of this opening. Hernia repair involves a simple surgical procedure to close the hernia.