Is there a message at all? Is it a proper shut down or just on/ff eg power cut type of reboot? Do you have upto date Anti-Virus software? Is it a laptop? Does your PC get hot?
When you start it up type "shutdown -a" in start > run box this should stop most of the reason for windows shutting down but need more details