The treatment of esophageal ulcer should be determined according to the condition of the patient. If the area of esophageal ulcer is relatively small, it can be treated through conservative treatment and diet adjustment. For example, you can also eat more light food, eat some soft food that is easy to digest and absorb, and avoid eating some food that is too hard or has thorns. For example, fish meat, which usually has fins, may scratch the esophagus, and should be avoided as far as possible. At the same time, you should drink more water. If it is a serious esophageal ulcer, which is deep, it may need surgical operation and treatment. If the esophageal ulcer is deep and there is obvious dysphagia and pain, cauterization of the ulcer or local resection should be performed to anastomose the esophagus.