If you have inherited nearsightedness or farsightedness from a parent, this is not an eye disease. This is a refractive error, which is correctable with glasses or contact lenses. You really cannot prevent the progression of the refractive error as you get older, but these do often tend to stabilize as you enter adulthood. See your ophthalmologist again in the future if you feel that there is a change in your vision.