"UNEXPECTED KERNEL MODE TRAP" Error its mostly caused by faulty ram.
You should run a memory diagnostic
How to do this :
1)Press Windows key + R on the Keyboard.
2)Type mdsched.exe in the Search box, and then press Enter.
3)Choose to restart the computer and run the tool once it restarts.
Windows Memory Diagnostics runs automatically after the computer restarts and performs a standard memory test automatically. If you want to perform fewer or more tests, press F1, use the Up and Down arrow keys to set the Test Mix as Basic, Standard, or Extended, and then press F10 to apply the desired settings and resume testing.
When testing is completed, the computer restarts automatically. You’ll see the test results when you log on.
But this error might also be caused by drivers and unknown drivers
-Make sure all your drivers are up to date
-Uninstall any unecessary drivers ( gaming peripherals, do that one at time, untill you find the faulty one)
Another thing you could try is to unplug any non essential peripherals and keep only mouse,monitor,keyboard, and internet router.
And yes, you could also try what TheFearOne suggested, if you have 2 sticks of memory ram, remove 1, check if the error persists, if it does, switch the ram channels, try both channel with both ram sticks.
Let me know if anything worked, and show the results of your memory ram diagonistic.
P.S : If by any chance you recently bought new ram, make sure you bought a KIT , theres always a slight chance to get BSOD even you buy 2 separate IDENTICAL STICKS, its always the best to buy ram in KIT if you want more than 1 stick, because they are factory tested to make sure they are compatibile with each other.