The dreaded blue screen is usualy a sign of a fault on the motherboard.
if you feel able you can try checking all the fans are working and not blocked or chocked up with dust, along with this you could check all componets are seated correctly and wires are secure.
However this may not cure the problem , and if the PC is under warranty i would advice returning it to point of sale as a faulty product.
" without doing any of the above , as this can invalidate warranty" .