It usually cost more to repair digital cameras than investing in a brand new one. Before you decide to trash your camera and buy a new one try this.
Some dirt somhow gets on the outside of the lense and they would prevent the lense from opening or closing 100% as it normally does.
Clean around the lense and turn your camera off and on a few times. If the lense opened out 100%, you should be able to take pictures as you usually did. If NOT
turn on the camera and help the lense to open up by pulling the lense out NOT too hard. If the lense goes up and down you follow the lense motion (up and down and turn). If the lense opened up 100%, then turn the camera on and off a few times, it may work now.
If you have dropped the camera, some mechanical part of the lense mechanism is broken or disslocated. In that case, the lense has to be opend from the camera, inspect for broken parts or loose parts, and clean it up. If you put it back on the camera, it may work. Remember opening the lense is the absolute last thing you want to do. Most likely, you would make it worse than, before opening it.
If you decided to buy a new one and trash this camera, please send the camera to me. I will pay to you ONLY your shipping cost. I would try to fix it and learn more about the problem your lense have. I would be able to help the next person with the same problem better. my email address [email protected]
GOOD LUCK !!!!!!!!!!!