Rabeprazole and ranitidine are not recommended to be taken together, both are drugs that inhibit the secretion of gastric acid, patients can choose one of them to be taken under the guidance of the doctor, to avoid taking too much to cause adverse reactions. Rabeprazole, for the role of the digestive system of acid inhibitors, can effectively inhibit the secretion of gastric acid, used to relieve gastric pain caused by excessive secretion of gastric acid, acid reflux, ulcers, etc., allergic reactions and pregnant and lactating women are prohibited to use. Ranitidine can effectively inhibit the secretion of gastric acid, reduce the activity of gastric enzymes and gastric acid, relieve the pain and acid reflux caused by peptic ulcer, reflux esophagitis, etc. It is prohibited for use in pregnant and lactating women. If patients have adverse reactions after taking it, it is recommended to go to the hospital for examination and treatment in time.