Try a couple of things
the outlet that the computer is plugged into make sure that it works and that maybe the light switch isn't off
also check the back of the computer and see if the plug is still in there
another is inside the computer make sure that the atx plug from the power supply is plugged into the motherbaord.