The chance of gastric ulcer turning into gastric cancer is only one percent, but for gastric ulcer patients, if they do not pay attention to their diet and lifestyle, often eat spicy and stimulating food, eat irregularly, have high mental stress, and have repeated attacks of gastric ulcer combined with Helicobacter pylori infection, the chances of gastric cancer are very high. For patients with gastric ulcer, they should pay attention to diet and lifestyle adjustment, eat regularly, avoid overeating and quit smoking and drinking, avoid spicy and stimulating food, take medication regularly, actively fight against Helicobacter pylori, and pay attention to regular checkups of gastroscopy, etc. All of these are good treatments for gastric ulcer, and the chance of transforming into gastric cancer will be very small.