Successful surgical procedures prevent stomach contents from refluxing into the esophagus.
Many patients are happy to use medications intermittently and/or lifelong. Others prefer the potential for definitive surgical cure. The decision for surgery is one you should make after discussing risk/benefits of all treatment options. Link may help: http://goo.Gl/0rrqv.