Your sound card could be going bad if it is dedicated. If it is onboard, I suggest that the CPU gets replaced and the BIOS get updated. Why? Onboard sound resides in the CPU and if it goes bad, your whole CPU must be replaced to replace the onboard sound. Reflashing the BIOS is necessary because after reflashing, the BIOS redetectes all devices installed.