It depends on what country you live in, what the requirements are of civilian and military aviation in your country. In some country refractive surgery (LASIK< PRK, etc) can be done to improve the vision without glasses to an acceptable level. So you need to start looking for the visual requirements in your country.