It all depends on the type and extent of the defect. If the defect was detected during medical examinations, you probably need to use correction and wear glasses. It is essential to carry a spare pair with you during flight operations. The permissible limit value of vision defect is -5 diopters. If the defect worsens, Polish legal regulations prohibit further work as a pilot.