However prokinetics are no longer licensed for GERD because their evidence of efficacy is poor, and following a safety review, licensed use of domperidone and metoclopramide is now restricted to short-term use in nausea and vomiting only. For subtypes
To treat eosinophilic esophagitis, avoiding any allergens that may be stimulating the eosinophils is recommended. As for medications, proton pump inhibitors and steroids can be prescribed. Steroids that are used to treat asthma can be swallowed to treat eosinophil esophagitis due to nonfood allergens. The removal of food allergens from the diet is included to help treat eosinophilic esophagitis. For infectious esophagitis, medicine is prescribed based on what type of infection is causing the esophagitis. These medicines are prescribed to treat bacterial, fungal, viral, and/or parasitic infections. Procedures
An endoscopy can be used to remove ill fragments. Surgery can be done to remove the damaged part of the esophagus. For reflux esophagitis, a fundooplication can be done to help strengthen the lower esophageal sphincter from allowing backflow of the stomach into the esophagus. For esophageal stricture, a gastroenterologist can perform a dilation of the esophagus.As of 2020 evidence for magnetic sphincter augmentation is poor. Prognosis
The prognosis for a person with esophagitis depends on the underlying causes and conditions. If a patient has a more serious underlying cause such as a digestive system or immune system issue, it may be more difficult to treat. Normally, the prognosis would be good with no serious illnesses. If there are more causes than one, the prognosis could move to fair.
This occasionally occurs through occupational exposure (via breathing of fumes that mix into the saliva which is then swallowed) or through pica. It occurred in some teenagers during the fad of intentionally eating Tide pods. By severity
The severity of reflux esophagitis is commonly classified into four grades according to the Los Angeles Classification:

Prevention
Since there can be many causes underlying esophagitis, it is important to try to find the cause to help to prevent esophagitis. To prevent reflux esophagitis, avoid acidic foods, caffeine, eating before going to bed, alcohol, fatty meals, and smoking. To prevent drug-induced esophagitis, drink plenty of liquids when taking medicines, take an alternative drug, and do not take medicines while lying down, before sleeping, or too many at one time. Esophagitis is more prevalent in adults and does not discriminate. Treatment
Lifestyle changes
Losing weight, stop smoking and alcohol, lowering stress, avoid sleeping/lying down after eating, raising the head of the bed, taking medicines correctly, avoiding certain medications, and avoiding foods that cause the reflux that might be causing the esophagitis. Medications
Antacids
To treat reflux esophagitis, over the counter antacids, medications that reduce acid production (H-2 receptor blockers), and proton pump inhibitors are recommended to help block acid production and to let the esophagus heal. Some prescription medications to treat reflux esophagitis include higher dose H-2 receptor blockers, proton pump inhibitors, and prokinetics, which help with the emptying of the stomach.