Your doctor may have recommended a hernia operation for you or your child. This operation is called inguinal hernia repair. The decision whether or not to have this surgery is yours.