Cpu not working

Solution
Full system specs? By the sounds of it if it was randomly shutting down and now will not power on it could be the psu thats at fault.