You've not really given us much information about your computer, such as what version of windows, was/is it an onboard sound card etc...
But check the device manager for problems, reinstall the drivers for the sound cards and check the windows audio service is running OK.