Chronic gastritis with erosion to gastric cancer needs a few years does not have a specific number of years, the specific time of malignant change there are individual differences. Chronic gastritis refers to the chronic inflammation of gastric mucosa caused by various reasons, mostly related to Helicobacter pylori infection. Under the continuous action of Helicobacter pylori, the gastric mucosa may appear erosion, ulcer and other related changes, and with the progress of the disease, the epithelial cells at the lesion may undergo mutation and malignant transformation into gastric cancer, and the length of time needed for this process varies from one person to another. When patients with chronic gastritis have developed erosive changes in the gastric mucosa, patients should actively look for the cause of the disease, and promptly carry out standardized treatment to improve the prognosis. For chronic gastritis caused by Helicobacter pylori infection, quadruple therapy is often used, which can be used to take orally at the same time omeprazole, bismuth pectin, amoxicillin, clarithromycin, and so on. If patients need to apply drugs, they must be under the guidance of a professional physician, so as to avoid improper use of drugs, resulting in adverse consequences.