Could be a lot of things w/what little info provided

It could be a dead power supply, hard drive, motherboard, or power on/off switch. What you're seeing is the reason why you need to keep backups on an external hard drive. If I were you, I'd take the computer to a service technician.

Good luck.