While it can be annoying when your computer won't boot, there are ways to fix the problem,
DIY – TROUBLESHOOTING and FIXING a Computer That Won't Turn On – NO POWER (Beginner's Guide)
Believe it or not, the number one reason a computer won't turn on is because you don't turn it on yourself!
Before you begin the sometimes time-consuming troubleshooting process, make sure that you have turned on all the power switches and buttons on your computer system:
Check if the computer power cables are loose. A loose or disconnected power cable is one of the main reasons why a computer will not turn on.