Stomach ulcers themselves are not contagious through eating. However, if the stomach ulcer is caused by H. pylori infection, H. pylori infection can be transmitted to others through eating. Gastric ulcers are ulcers that occur in the lining of the stomach and are formed when the mucous membrane breaks down as a result of H. pylori infection, medications, diet, drinking alcohol, and drinking strong tea. Gastric ulcers may cause symptoms such as pain in the upper left abdomen, loss of appetite, stomach discomfort after meals, vomiting, blood in the stools, tarry stools, and even the possibility of progressing to stomach cancer. Gastric ulcers themselves are not contagious to others through eating. But Helicobacter pylori infection can be transmitted through diet. If a stomach ulcer is caused by H. pylori infection, it can be transmitted to others through meals. Therefore, if you have a stomach ulcer that is potentially contagious to others, you can have a gastroscopy, a rapid urease test, a carbon 14 breath test, and other tests, and then get treatment under the supervision of your doctor.