Sudden, severe inflammation of the stomach lining is called acute gastritis. Inflammation that lasts for a long time is called chronic gastritis. If chronic gastritis is not treated, it may last for years.