Surgery is typically used to treat hernias. Open repair, laparoscopic (minimally invasive) repair, and robotic repair ar