Potent acid blockers (called proton pump inhibitors) work well to block stomach acid, but generally they're intended to treat short episodes of heartburn or reflux. There are risks to long-term use.
Over the counter drugs and supplements may contain dangerous toxins or unapproved drug ingredients, so people who take them may be risking serious health problems.