There are numerous causes for a PC to stop working or freezing. Sometimes the complexity of PC programs makes it difficult to execute daily task also. Things that you can do to tackle the issue are the first reboot your PC and try running the same program. If it still shows any error or something else then operate your system into safe mode. Another set of things that you must ensure is that your system is facilitated by updated anti-virus program; outdated drivers must be updated, etc.