Peptic ulcers are essentially open abscesses in the stomach. They can be caused by long-term use of drugs like ibuprofen, infection of Helicobacter pylori, or because of the non-cancerous tumor in the stomach causing inflammation and bleeding. The primary goal of any surgical procedure for a bleeding peptic ulcer is to control hemorrhage. And, the secondary goal of surgery is to treat the underlying ulcer diathesis. Usually, medicines work up to an extent, but at the extreme cases, the operation may become necessary to treat this condition.