Had that a few years ago. Not fun!
I am fine now but recovery was tough. I had a hematoma a few days after surgery and they had to go in again. Then a year later I needed a third surgery after I stupidly agreed to help my daughter move a couch into a third floor apartment.
No fun. That turned out to be an expensive couch!
I have an indirect inguinal hernia and an umbilical hernia.
The umbilical hernia is painless. They are repairing it only because they will be going in through there (or nearby) to fix the other one.
The indirect inguinal hernia may be something that I have had since birth, or it could be new. All I know is that for the last 10 months it hurts in that area when I walk. The pain could also be from my pelvic floor, the ligaments that attach my pubic bone in front, my bladder, or my prostate.
I have had a lot of imaging and diagnostic tests and the only problem that they saw were the hernias. So I think surgery for those is my best chance of being able to walk pain free again (after the long healing process).