The time it takes to get out of bed and walk after hernia surgery is related to the type of hernia and the type of surgery and cannot be generalized. A hernia is a condition in which an organ or tissue in the body leaves its normal position and reaches another part of the body through a weakness or defect that has formed either congenitally or later in life. Hernia surgery is needed to restore the organs or tissues to their normal position and repair the defect. Generally hernia surgery varies in different ways and the time to get out of bed after surgery, such as pediatric inguinal hernia, after taking hernia sac high ligation, or elderly inguinal hernia, after taking traditional hernia repair surgery, it is recommended to get out of bed after 1 week. If tension-free hernia repair surgery is performed, you can get out of bed after you wake up from anesthesia. In addition, avoid strenuous exercise for 3 months after hernia repair surgery to avoid recurrence of hernia, and pay attention to a light diet, avoid eating spicy and stimulating food.