Treatments for esophagitis depend on the cause. If it is caused by reflux, it may be treated with medicines or surgery for GERD.