Typically it is about a month. It may be less, but often doctors will recommend not getting new glasses until a month after your first eye. It takes this time to heal. Be on notice that often there is glare after cataract surgery. Especially with the newest lenses (source:https://cataractsurgery.accommodatingiol.com/note.aspx?id=30&t=Glare_After_Cataract_Sugery)
Well, it seems that your eyes really have got a serious problem. If you find that there are things to be done to solve your problem, just set about the surgery before it is too late, no matter how soon you can see things clearly again. Because sometimes disease is not to be ignored, just for your own health. I believe you don't wanna be blind right? And typically, it takes about several month, perhaps half a year before you see things clear again, it depends on the progress and your personal efforts , got it?
You may see clearly after a week of the cataract surgery. However, during this time, you'd better keep a good habit of eating, avoid from the spicy food. In addition, you should not do the furious exercise. If you really want to do, you'd better do the exercise after a month of the cataract surgery.