Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
Try pulling the batteries out. Leave them out for about 1 hour or longer, then put them in, and try the camera again.
Let me know what happens, please. I'll advise you further as needed.
That unfortunately sounds as if you have a real, intractable, problem.
Try running the edge of a piece of paper into the crack around the lens assembly, move it around a bit, and bring it all the way around the lens assembly in a full circle.
Then turn Off the camera for 5 minutes or longer, then On again.
See if that helps. Sometimes, when a lens assembly is slightly misaligned (and the crack around it is broader on one side) this gets it set straight again and it works again.
OK, camera works, lens assembly doesn't.
I'm sorry to say that 'Lens Error' cases don't generally prove repairable at home. They end up being (as in this case, at this point) a decision between 'send it or take it to repair', and 'recycle and replace it.