The time for gastric disease to turn into cancer is related to the type of disease and there are individual differences in the exact time. Gastric disease is a collective term for many stomach-related diseases, which include acute and chronic gastritis, gastric ulcer, duodenal ulcer, gastric polyp, gastric stone, pyloric obstruction and so on. Some of these diseases have a risk of cancer, but not all of them are cancerous, and the process of cancer is complex, so it is impossible to determine the exact time of cancer. People with H. pylori infection, family history of gastric cancer, precancerous lesions, smoking history and other such risk factors are relatively more likely to develop cancer, but the cancer process is relatively slow, usually taking years or even decades. Usually, we should pay attention to eating a light and easy-to-digest diet, not to eat spicy, stimulating and greasy food, quit smoking and drinking, develop good living habits to avoid gastric diseases, and regularly review gastroscopy to monitor the development of gastric diseases and actively treat them.