Start with the usual diags. Hard drive (ex. Seatools) and ram (Memtest86+) diags to start. You need to make sure the hardware is good before you waste time fixing software.