J.R. S. answered 12/17/19
Ph.D. University Professor with 10+ years Tutoring Experience
Look up the active ingredients in the antacid tablet that you are using. It will probably be something like calcium carbonate (CaCO3) or magnesium hydroxide (Mg(OH)2). Whatever it is, it will be a base so that it can neutralize the stomach acid (HCl).
Once you have the active ingredient, write the balanced equation for the reaction with HCl. For example, if you use Tums, you will have CaCO3 + 2HCl ==> CaCl2 + H2CO3 and the H2CO3 ==> CO2 + H2O.
You can test the "quality" of the tablet by weighing the tablet, dissolving in water (whatever will dissolve) and titrating this solution with a known concentration of HCl. Determine how many moles of HCl it takes to neutralize the pre-measured mass of tablet. From the balanced equation above, you can calculate moles CaCO3 and then grams of CaCO3 and compare that to grams of tablet originally weighed. Of course the calculated value will be less because the entire tablet isn't CaCO3 but contains other ingredients as well. You can compare and see what percent of the tablet is actually CaCO3.