There are three types of refractive errors:
Myopia (nearsightedness): In people with myopia, the mismatch in focusing power and eye length causes distant objects to be blurry and near objects to be clearer.
Hyperopia (farsightedness): In people with hyperopia, the mismatch in focusing power and eye length causes near objects to be blurry and distant objects to be relatively clearer.
Astigmatism: In people with astigmatism, either the corneal or lens shape is distorted, causing multiple images on the retina. This causes objects at all distances to appear blurry. Many people have a combination of either myopia or hyperopia with astigmatism.