The stomach acid eroding the lining of the stomach, thus causing a sore, causes these symptoms. The preventative measures for a stomach ulcer are all to do with lifestyle. If you smoke, you should cut down or stop, as this is one of the primary causes of stomach ulcers. Drinking alcohol is another contributory factor. If you are a heavy drinker you should cut down, especially on strong drinks such as neat spirits.
Dietary factors can also encourage the onset of a peptic ulcer.
If you experience bouts of indigestion you should avoid very spicy foods and also those foods that have a high fat content. Also it is better to consume six small meals per day rather than three huge ones, and regular meal times are also good for your stomach. Cutting out caffeine can also help reduce the risk. There are three main treatments for stomach ulcers. If the ulcer is caused by bacteria, a course of antibiotics can be prescribed to remove the germ.