When the shape of the eye keeps light from focusing directly on the retina, this is called a refractive error. This can happen for a number of reasons, such as if the eyeball is too long or too short, if the shape of the cornea changes, or if the person is getting older. Refractive errors can be fixed with the right treatment.