Treatment of gastritis usually takes about 3 months for most patients, and varies from person to person and requires active cooperation with the doctor. Gastritis is a common type of benign disease that requires a relatively long period of time to treat, usually about 3 months, before the gastritis is completely cured. There are three main types of drugs for treating gastritis, the first is the antimicrobial class of drugs, commonly used is levofloxacin, amoxicillin; the second is the drugs to stop acid, omeprazole and ranitidine; the third is the gastric mucosa protector, bismuth, etc. Patients must be treated with medication along with food to be able to cure gastritis completely. Patients should eat a light diet, do not eat pickled foods, do not overeat, and do not eat boiling hot food. Gastritis patients should not drink alcohol and must pay attention to the regulation of mood. The anxiety and tension can trigger gastritis or aggravate the symptoms of gastritis. In addition, keep a regular routine and never stay up late. Never eat before sleep, especially sweets.