I see ads about lasik, but what is now the most accurate and the safest type of surgery for nearsightedness?

LASIK. Lasik is now the standard of care and produces excellent results in the nearsighted (myopic) patient. It is accurate and safe and now has a 15 year track record of safety.
Depends. Only a refractive surgeon can determine which exact procedure is best for you. The best procedure for you will depend on your goals and the physical characteristics of your eye.