When I get heartburn or indigestion, I don't take antacids anymore. I take a teaspoon of apple cider vinegar. It supposedly signals your stomach to stop producing acid, and it works for me.
I've never used antacids. I mostly use baking soda and alka-fizzies. Beer is a last-ditch effort.