Esophagitis can usually be cured if it is treated in a timely and symptomatic manner, but it may not be cured otherwise. The main cause of esophagitis is reflux esophagitis, which is usually treated by medication, such as omeprazole or lansoprazole under the guidance of a doctor, which is beneficial to inhibit gastric acid to achieve the purpose of treating esophagitis, and if necessary, you can also take mosapride to promote gastrointestinal motility. Usually also adjust the diet, do not lie down immediately after meals, so as not to cause gastric reflux, do not eat half an hour before bedtime, avoid eating spicy stimulating food, diet should be light and easy to digest. Secondly, we should increase the amount of exercise, combine work and rest, and develop a good bowel habit, which can help promote the timely emptying of the gastrointestinal tract and avoid food retention in the gastrointestinal tract, combined with medication, which is conducive to the eradication of the disease. Drugs should be taken under the guidance of a doctor.