Eosinophilic esophagitis is often treated by avoiding the allergen. An allergen is what causes the allergic reaction. Medicines may also be used to reduce allergic reactions.