Well, generally speaking, it will just take several weeks for your eyes to recover. And first, you should know that when you have corneal edema, the cornea becomes overly hydrated by accumulated fluid. In other words, corneal edema is a condition that occurs when the cornea of the eye starts to swell. And it can be dangerous, so just take some measures to treat it. One of the major ways to treat corneal edema is to pinpoint the cause of the condition and treat it under the care of an eye doctor. In common, if it's caused by an eye infection, you can take some eye drops to treat the infection. Also, if the problems are related to contact lenses, you can just console it with your doctor, and he can give you some advices.