I have a Nikon coolpix, and once I turned it on, I had my hand pressed against the lens when it opened. It then said 'lens error' and I just turned it off, and back on again.
The lens error means that the lens cap is still attached. Turn off camera, remove the lens cap, and turn camera back on. If error persists contact retailer or Nikon-authorized service representative.