The use of antacids and acid blockers make the condition worse and lead to further nutrient deficiencies. For instance we hear the commercials say Tums has calcium. You cannot absorb most of it. Once the traces of acid in the stomach are neutrilized, the remaining calcium will not have any acid to react with and therefore will not be absorbed. Neither will other minerals, and some vitamins.
Some antacids also contain mint oils for flavor.
Though these can relax the sphincter muscle at the top of the stomach increasing the risk of esophageal reflux. It may sound strange, but the best way to generally treat heartburn is by raising your stomach acid levels for your food digests instead of ferments, and you can control stomach yeast this way. I like to chew on a few juniper berries when I get heartburn to kick up my stomach acid levels. They clear it up right away. In addition they strengthen the nervous system, improve the vision by strenghtening the optic nerve, and kill yeast and bacteria in the stomach.