The body automatically resolves an eye infection, provided it is not something too serious. Common eye treatments include cold and warm compresses to relieve the irritation and gentle wash with saline.