Prompt, early attention by an ophthalmologist for an eye infection may prevent the condition from worsening to the point of ulceration. Wash hands and pay rigorous attention to cleanliness while handling contact lenses, and avoid wearing contact lenses overnight.