Gastric ulcer after taking three weeks of medicine still pain need to analyze the specific causes to determine the next step in the treatment program, such as continue to use drugs, adjust the diet, adjust the drug regimen, surgical treatment, and so on. 1. Continue to take medication: the treatment cycle of gastric ulcer is usually 6~8 weeks, after taking medication for 3 weeks, the gastric mucosa has not been completely repaired, so there will still be pain symptoms. 2. Adjust the diet: gastric ulcer patients need to pay attention to a reasonable diet structure, avoid stimulating food. Diet should be chewed slowly, small meals, moderate exercise and emotional stability is also conducive to recovery. 3. Adjustment of drug regimen: drugs can be changed or added according to the symptoms. Commonly used drugs include omeprazole, lansoprazole and other proton pump inhibitors; domperidone, mosapride and other gastrointestinal tract dynamics; compound digestive enzymes, mitochondrial pancreatic enzyme tablets and other digestive aids; colloidal bismuth pectin, bismuth citrate and other mucosal protective agents. 4. Surgical treatment: If gastric ulcer is combined with gastric perforation and bleeding, the doctor should consider surgical treatment according to the condition. The above medicines should be used under the guidance of specialized physicians. In case of gastric ulcer with medication for 3 weeks and still having stomach pain, attention should also be paid to other causes of abdominal pain, such as liver, gallbladder and pancreatic diseases, etc. It is recommended to consult a doctor in time, and to have a clear diagnosis and treatment under the guidance of a professional doctor.