There are many reasons for the blue screen. It could be due to software conflicts, hardware conflicts, or a virus infection - these are the three possibilities.
You can use antivirus software to scan and eliminate threats. If no virus is found, then it might be a software conflict; in that case, consider reinstalling the system.