How to troubleshoot system crash

This might be a very basic question but I still want to get suggestions from you. How would you quickly determine if its a Operating system crash, SAP System crash or Database crash and what would be your strategy to fix it ASAP.