I left my PC turned on for the night. My screen shuts down after 30 min. Today's morning i wanted to use my computer but it didn't respond for mouse movements and click or any keyboard keys. Had to turn off with power button. Any suggestion?

I have P4 3.0GHz
2G RAM NVidia Geforce 9400
MSI mobo FSP PSU 300Watt