In general, patients with gastritis are not recommended to take levofloxacin for treatment. Factors causing gastritis mainly include mental and Helicobacter pylori infection, dietary causes, etc. It can usually be treated by oral proton pump inhibitors, gastric mucosal protectants and anti-Helicobacter pylori treatment. Antibiotics such as clindamycin and amoxicillin are often used in anti-Helicobacter pylori treatment, while quinolone antibiotics such as levofloxacin have a weaker effect on Helicobacter pylori, and the gastrointestinal reaction to quinolones is more pronounced, so they are not recommended for patients with gastritis. In addition to taking the above medications orally, gastritis patients must pay attention to the regularity of eating three meals, avoiding spicy and cold, irritating foods, and eating less and more often to promote the repair of the gastrointestinal mucosa. If you suffer from gastritis, it is recommended that you go to the hospital in time for standardized treatment, so as not to threaten your health. Drugs need to be used under the guidance of a professional physician, not on their own discretionary use of drugs.