How do you cure stomach ulcer without having surgery?

Depending on the ulcer, you can prescribe medicine to lower the stomach contents' acidity, thus allowing the ulcer to heal. You can also treat the cause of the ulcer (which can be quite varied). The effectiveness of this approach depends a lot on the severity of the ulcer.