Which works better, ranitidine or omeprazole?

Omeprazole and ranitidine have their own advantages in the treatment of different diseases, and there is no such thing as which one is better than the other. 1. Omeprazole: belonging to the first generation of proton pump inhibitors, it is mainly applied to peptic ulcer, Zuo-Ai syndrome, reflux esophagitis, Helicobacter pylori infection, upper gastrointestinal bleeding and other diseases. It has significant protective effect on gastric mucosa and inhibitory effect on Helicobacter pylori. Adverse reactions are rare, including nausea, vomiting, abdominal distension and so on. 2. Ranitidine: belongs to H2 receptor blocker, mainly used for gastric and duodenal ulcers, uncomplicated gastroesophageal reflux syndrome, prevention of stress ulcers and so on. The incidence of adverse reactions is low (<3%), such as mild diarrhea, malaise, and constipation. It has a better effect on inhibiting gastric acid secretion both at the base and at night, and is the drug of choice for the treatment of gastric and duodenal ulcers. All of the above drugs have inhibitory effects on liver enzymes, and should be used with caution if you have abnormal liver function, or in combination with other drugs such as warfarin or diazepam. Allergic to the above 2 drugs are prohibited from use, it is recommended to use under the guidance of a doctor.