Answer:
If you are farsighted, meaning that you can see far but you can't see objects close up, that means your eye is too short in terms of the distance of your retina to your lens. The image focuses behind the retina, so it becomes blurry. When you add a convex lens, it will help bend the light more and converge the light rays onto the retina, so you will see the image clearly.
If you are nearsighted, your retina is farther away from your lens, so the image is focusing in front of your retina, so you can't see distant objects. That's when you need a concave lens. Concave lens will diverge the light rays onto the retina.