According to Core Physicians, gastritis may last from a few hours to several weeks, depending on what caused it. Usually, if it’s caused by food or beverages, the symptoms may last for only a few hours. If it is caused by a bacterial infection, it may last longer.
Gastritis, the inflammation of the lining of the stomach, may be classified as chronic or acute. According to MedicineNet.com, a major cause is the infection of the stomach lining by Helicobacter pylori bacteria, which is treated with antibiotics and antacids.
Gastritis may also be caused by alcohol, certain medications like aspirin, stress, smoking and allergic reactions. In these cases, the doctor may recommend antacids and ask the patient to make some lifestyle changes to address the underlying problem. Drugs.com states that, normally, the patient feels better within a few days while undergoing this treatment.
Pernicious anemia is another possible cause of gastritis, according to WebMD. Vitamin B12 shots are given to treat this condition and eliminate the symptoms.