When i turn on my camera the lens close and on the screen it says "lens error!" and goes black.
lens error in many cameras are caused due to sand or grit interfering
with the lens extension mechanism. Sand, gunk, case fibers, etc...
accumulate at the bottom of the case.
These materials stick to the camera by electrostatic build-up
from the camera rubbing against the side of the carrying case. To
resolve the lens error remove the battery for some time. Then insert the
battery again and charge the battery completely. Then try pressing and holding the Menu, Function, Function Set, or OK
button while turning the camera on. Also try the factory reset option.
Also try the on/off button many times after battery full charge.