Could be a dirty power switch, or static electricity. Does it have an infrared remote? Maybe something in the room is triggering it. If so, try blocking the sensor.
Mine did the same, look underneath the tray when open, you'll see a rubber drive belt which has probably perished. You may have to remove the cd carousel, one screw in the middle, for access. Replaced mine with an elastic band and am back in business.