The best treatment for stomach ulcers is to avoid stress. Watch what you eat & drink. Spicy, hot, acidic foods & liquids will upset the ulcer & cause a lot of pain.You can purchase Prilosec from a drug store that is made for ulcers. Keep Rolaids or tums available so anytime you feel the ulcer might flair up eat a few of these. The most important is to stay stress free.