Gastritis is still painful after taking medication, first of all, we need to make clear that gastritis is not something that can be completely solved by simply applying medication, it needs to be analyzed comprehensively according to different causes, different physical conditions, as well as the degree of accumulation of long-term bad habits, and the physical condition. If chronic gastritis is caused by eating irritating food, drugs or emotional depression, etc., it can be treated with proprietary Chinese medicines or medicines such as rabeprazole, magnesium aluminum carbonate, etc., to achieve the effect of relief, but it also needs a certain period of time. It is recommended to carry out the examination of Helicobacter pylori, to exclude the bacterial infection caused by this type of bacteria, the application of medication will take at least ten to fourteen days to have an improvement. For other cases, such as gastritis complicated by gastric ulcer, gastric mucous membrane erosion, or even acute pancreatitis that may be mistaken for gastritis, there may be no way to get relief in a short period of time after using medication, and a comprehensive analysis must be made. If the pain still occurs or worsens, go to the gastroenterology department of the hospital.