For me taking an antacid tablet works like a champ. Antacids are a made of primarily bases, usually CaCO3.
For me if I limit my carbohydrates, I don't ever get heart burn
CaC03 is not very soluble . 0.013 gm/lit, so I am not sure what is the effect of antacid , if the CaC03 becomes CaCl2 due to HCl the Ph will be about 8 to 8.5