Abdominal pain when drinking coffee, mainly due to caffeine stimulation of intestinal spasm, such a situation should stop continuing to drink coffee, try to fast, fasting for a few hours, should make the intestines fully rest, and should be localized hot compresses or infrared microwave physiotherapy to relieve abdominal pain. In addition, for some of the gastritis and gastric ulcer induced by coffee stimulation, such cases are treated by oral gastric drugs, including proton pump inhibitors, omeprazole or bismuth pectin, etc. The abdominal pain may be gradually relieved through the treatment of drugs, and if necessary, colonoscopy can also be considered to further find the main cause of the pain, according to the cause of the system of prevention and treatment.