If your PC is not powering on, shuts down or blue screens more often than not, than you may be having a motherboard or CPU failure. Your systems motherboard is the controller for all your devices, including video, audio, memory, USB and other functions.
A bad motherboard or CPU means replacement is necessary and requires the exact or similar replacement to ensure your RAM or other components are compatible.