I doubt you are producing too much acid in the stomach. That's very rare. Sounds like you have a problem with the protective mucous lining of the stomach. It's not adequate, thus exposing underlying stomach tissue to stomach acid. In other words, it's not that you have too much acid, it's just going where it doesn't belong.
Aloe vera will help heal it and reduce inflammation. You can get it in a health food store as a liquid. Take a few times a day. Your doctor will know nothing about it so don't even bother him with it.
Licorice root tablets will help heal the lining too.
Papayas or papaya juice is also helpful.
Avoid chocolate, coffee, alcohol, fried or greasy foods, hot or spicy foods, citrus fruit (unless sweet), tomato sauce, ketchup, mustard, vinegar, and aspirin.
If you don't have a problem with the lining of the stomach, then you have a problem with your lower esophageal sphincter. That's the valve that separates the esophagus from the stomach. If it's not closing properly, acid is escaping into the esophagus, and once again, it's just going where it doesn't belong. The same foods I mentioned cause the esophageal valve to relax which then lets the acid go where it shouldn't. So you should still avoid those foods as much as you can until your doctor works out a treatment that corrects the problem, which they rarely do. From my point of view, the correct treatment is to avoid those foods, either forever or at first, and then test foods and amounts to see what you can tolerate. And, btw, smoking is very bad for this, so don't.