I strongly suggest that you should take a second opinion and if that comes out as same as the first then you have no choice but to have a surgery. I am not a medical expert but I think that it was the best.
If you will not have a surgery there is a very big possibility that you will suffer again all the pains that you felt when it was your first time to notice the symptoms and the worst thing is your situation could get more worse.
If you really don't want to have a surgery better ask your doctor about
the things that you have to do to avoid the pain but if he insist that you should undergo surgery, better follow him. Of course, he is the doctor so he knows the best for you.
I hope that my suggestion can help and I hope for your full recovery.