The development of gastric cancer is closely related to many factors such as unreasonable dietary structure, serious environmental pollution and family genetic susceptibility. Eating smoked, high-salt, spicy and pickled foods, hot pot and spicy hotpot, and drinking alcohol may damage the normal function of the gastrointestinal tract and seriously damage the gastric mucosa, leading to gastritis, gastric ulcer and other diseases, and may even increase the chance of cancer. In addition, bad eating habits are also a cause of gastric cancer, such as: in order to catch up with time, eating wolfishly; eating too much, which often increases the burden on the stomach and intestines; irregular life, eating often “hungry meal, full meal”, and even often do not even eat breakfast, and sometimes binge eating, all of which give gastritis, gastric ulcer and other gastric diseases All these provide “good” soil for the development of gastritis, gastric ulcer and even gastric cancer. As the early manifestation of stomach cancer is not obvious, young people do not pay attention to their health condition and neglect the prevention and treatment of stomach disease, which leads to most young and middle-aged patients with stomach cancer being diagnosed at advanced stage and delaying the treatment time. To diagnose whether there is stomach cancer, gastroscopy is usually required because it can directly see whether there is cancer in the gastric mucosa, and pathology can be taken at the same time for diagnosis because the most important criterion for tumor diagnosis is to obtain pathology. To prevent gastric cancer, we should develop good eating habits, make diet regular and quantitative, avoid overeating, eating too fast and too hot; eat less or no pickles, eat less or no smoked and fried food, such as bacon contains a lot of carcinogenic substances, fried, baked, burnt food and repeated use of high temperature cooking oil also contains such carcinogenic substances, do not eat moldy food, do not smoke, and eat more fresh vegetables and fruits. We advocate meal sharing in our diet to avoid H. pylori infection.