This article will tell you what to do if your computer won't turn on.
Steps

Step 1. Make sure the power cord is plugged into your computer and plugged into a power outlet

Step 2. Disconnect the cables from the computer base and open it
Make sure the power button is connected to the motherboard and that it is connected to the correct pins on the motherboard (read the instructions from the motherboard for this). Close the case and connect the cables to it. Press the computer power button.

Step 3. Shut down your computer and wait for a few minutes
If that worked, then you have a problem with your power supply. Replace it!

Step 4. Check the processor cooler operation
To do this, place your ear against the casing panel opposite the processor. If you hear a hum, then the cooler is most likely working. If the cooler is not working, if the processor overheats, the computer will not turn on until the processor cools down. If you smell smoke, it is possible that some computer components have burned out. They need to be replaced.

Step 5. Disconnect all components from the power supply except the motherboard (optical drives, hard drives, video card, etc.)
etc.). If that worked, plug in the components one at a time to find the faulty one.

Step 6. If all else fails, take the computer to a workshop
Advice
- In some countries (eg UK) a fuse is inserted in the plug. If the fuse is blown, replace it or simply use a different power cable. To test the integrity of the fuse, connect the power cable to another device. Also test the outlet by plugging the computer into a different outlet.
- Check the isolator on the power supply (rear). If it is set to "0", then the computer will not turn on.
- Take your computer manual and look for the troubleshooting section. You can get relevant information in it.
- The power button is located differently on different computers: on the back or side of the case, on the front of the case, on the back or side and front of the case, etc. Some computers can turn on via the power button on the monitor (this is extremely rare, so if your monitor turns on, do not assume that the computer will turn on too).