A pump called the proton pump in the stomach is responsible for the secretion of stomach acids. Rabeprazole binds to this proton pump in stomach cells, thus blocking acid secretion. Domperidone increases the motility of the stomach and intestines so that acid does not reflux back into the food pipe