Antacids work by counteracting (neutralising) the acid in your stomach. They do this because the chemicals in antacids are bases (alkalis) which are the opposite of acids. A reaction between an acid and base is called neutralisation.