Cataract surgery is considered a very safe procedure. Complications are extremely rare. But they are possible. If you use the eyedrops like they tell you, there is little chance of infection.
I put it off for a time until my vision got too blurry to safely drive, especially at night. It went well. The next day my distance vision was 20/20 in that eye. But, after a few months it started getting blurry again. This can happen due to scarring and required a laser treatment to burn a tiny hole in the scar. It only took a few minutes and fixed the problem.
It is scary to think about someone cutting on your eyeball. But, lots of operations are scary. You have to consider the benefits vs. the risk.