Acid reflux medications that contain calcium carbonate are available over the counter.
This means that you can buy them from a pharmacy without having to answer medical questions, but you should read the patient information leaflet that comes with the medication you’ve bought carefully before taking it.
If you’re ever unsure, you can ask your doctor or pharmacist for advice.