Kevinla, your question is very general and hard to answer without specific information if you're asking about
your own situation. However, a person with years of stomach acid problems and/or duodenal ulcers should probably be tested for the H. pylori bacteria. This can cause stomach cancer if untreated over the years. The only reason I suggest this is that it was true in my husband's case and he was put on a rigid dosage of antibiotics for two weeks. You should consult with a doctor for an endoscopy which would take a biopsy to see if it's caused by the bacteria. And, of course, there may be other causes but this is one of them.