SSD restarts PC blue screen

It is slow and when I play games I get the blue screen error.

How do you know it is not hardware related and only software??

Dell Dimension 3100

2.80GHz processor wH/T

2GB Memory

240GB SSD Sandisk

Pny 6200 256MB pci graphics

LG DVDRW

Windows 10 home edition 32bit