The onset of hernia is more common in children and the elderly, with the majority of male patients. In elderly patients, a mass that should not be present in the abdominal wall appears at the beginning and disappears after lying down, which is almost certainly a hernia. If left untreated, part of the protruding small intestine will be necrotic due to the cessation of blood flow, and in serious cases, it will lead to infection and sepsis, which is life-threatening. Therefore, except for a few special cases, hernias should be surgically repaired as soon as possible. Because the inguinal canal is not atretic until 6 months after birth, it is possible for an infant hernia to heal spontaneously within 6 months of age. However, if the hernia does not disappear or tends to increase in size after one year of age, it is unlikely to heal on its own. Therefore, surgery should be considered for hernia in infants over 6 months of age.