On this topic I suggest the big meds such as Pepcid AC. Its what we use in the hospital and works every time. Sometimes Tums works but you have to keep taking them every so often. I'm sure you'll figure out what works best for you.
An antacid like tums is usually safe in moderation. I would also suggest figuring out if you have any trigger foods and avoid them. Also don't lay down within about an hour of eating. Good luck! Heartburn is the worst!