Ranitidine belongs to a group of medicines that reduce the amount of acid produced by the cells in the lining of the stomach. They are called 'histamine H2-receptor antagonists', but are commonly also called H2 blockers.
This is a companion discussion topic for the original article at https://patient.info/medicine/ranitidine-to-reduce-stomach-acid-zantac