At present, it is clinically believed that the incidence of gastric cancer has a certain relationship with heredity, but it is not an absolute hereditary disease, only a family tendency to inherit, and cancer is also influenced by many other factors. The probability of genetic inheritance is about 30%, and the influence of acquired environment and living habits is about 70%. If someone in the family suffers from stomach cancer, other family members can make an early diagnosis by doing gastroscopy. In life, we should pay attention to eat more fresh vegetables and fruits, quit smoking and alcohol, and avoid barbecue, fried, smoked and greasy food.