The surgeon makes a cut in the groin to view and repair the hernia. After repairing the hernia, the surgeon uses stitches alone or stitches and a piece of mesh to close the abdominal wall. The mesh is designed to strengthen the weak area of the abdominal wall where the hernia occurred. Laparoscopic hernia surgery.