Famotidine is a competitive inhibitor of histamine H2-receptors. It inhibits gastric secretion, that is both the acid concentration and volume of basal and stimulated gastric secretion suppresses, while changes in pepsin secretion are proportional volume output.