HI estra welcome to PCHF

the first thing to do in this case would be Run
Chkdsk /f /r to detect and repair disk errors on your had drive and if it still keeps crashing after that we will need to test the memory in your PC. Try the
Chkdsk /f /r
To do this:
Step One: Click
Start, select
Run
Step Two: In the box, type
cmd
Step Three: Click Ok
Step Four: Run the chkdsk utility by typing in the following command:
chkdsk c:
..or
chkdsk c: /f /r
NOTE: The
/f command automatically fixes any errors encountered, the
/r command locates and recovers readable information.
NOTE: I am also assuming the drive you wish to check is the C: drive.
Step Five: A reboot is normally required for the chkdsk program to lock the disk and run correctly (this is typical on machines that have only one volume), so simply restart the computer and chkdsk will run automatically. When it's finished, (This process can take quite a while depending on the size of your disk, etc.), it will boot back to normal Windows.
On Rebooting the PC you will see the disk being checked as in the screenshot below:
This process can take up to an hour!