Gastric cancer is a genetically heterogeneous tumor with a multifactorial etiology that is related to dietary, environmental and genetic factors. Helicobacter pylori infection and viral infection also play an important role in the development of gastric cancer. 1. Hereditary gastric cancer is uncommon. In any family with two recognized causes of gastric cancer in first or second degree relatives, genetic factors may play an important role in gastric carcinogenesis by influencing inflammatory and immune responses, especially H. pylori infection, and emergence of susceptibility to gastric cancer. 2. H. pylori is a Gram-negative bacterium that has been characterized as a class I carcinogen for gastric cancer by the World Health Organization since 1994. H. pylori colonizes the gastric mucosa. The carcinogenic effect of H. pylori infection has caused gastric cancer by causing chronic inflammatory stimulation of gastric epithelial cells and secreting specific toxins that cause mutations in the gastric mucosa. 3.Carcinogenic food can also directly cause genetic mutation of epithelial cells. High sodium chloride, high nitrite food, easy to damage the gastric mucosa, leading to cell death, eventually leading to inflammation and damage such as diffuse erosion and degeneration. Has and exacerbates the inflammation caused by H. pylori. The saltier you eat the higher the chances of developing stomach cancer. Viral infections, especially EBV infections, are also known to cause stomach cancer. EBV is a prevalent virus and adults have a high chance of being infected by this virus. This virus can also cause stomach cancer. Many bad lifestyle habits can also lead to stomach cancer. People who smoke, drink alcohol, and like to eat moldy food are also at high risk of stomach cancer. These habits should be avoided as much as possible. There are also some gastritis and precancerous gastric diseases that can cause gastric cancer, which need to be treated as early as possible to stop the disease process. For healthy people, a good lifestyle habit can play a role in preventing stomach cancer.