Why do most of ophthalmologists not have eye surgery even when they have medical conditions like myopia etc.?

Actually, your assertion is not accurate. Many eye doctors, both in Ophthalmology and Optometry, have had LASIK (and other refractive procedures) and continue to do so on a regular basis. I have had LASIK myself as has my daughter, an optometrist. I did her procedure!

A study that was featured in the prestigious Journal of Cataract and Refractive Surgery reported the choices for better vision among 250 surgeons who qualified for the procedure: 62.6% said they choose Lasik to correct their vision. 91 percent said they recommend it for their immediate family members.

_Written by J. Trevor Woodhams, M.D. - Chief of Surgery, Woodhams Eye Clinic