To treat peptic ulcers, most people need to take medicines that reduce the amount of acid in the stomach. If you have an H. pylori infection, you will also need to take antibiotics.
You can help speed the healing of your ulcer and prevent it from coming back if you quit smoking and limit alcohol. Continued use of medicines such as aspirin, ibuprofen, or naproxen may increase the chance of your ulcer coming back.
Ignoring symptoms of an ulcer is not a good idea. This condition needs to be treated. While symptoms can go away for a short time, you may still have an ulcer. Left untreated, an ulcer can cause life-threatening problems. Even with treatment, some ulcers may come back and may need more treatment.