If you have problems turning on your PC or if your PC doesn’t act right when pressing the power button, you might have a faulty power supply unit (PSU).
You could open it up and look for bulging capacitors or you could follow this nifty PSU testing guide, all you need is a multimeter.
Further down below the main post in that PSU testing guide are some bonus guides and tips. Well worth a look.