First of all, check this problem isn't that your speakers are broken in some way by using them on a TV or just plug some headphones into your computer, if they work, you know it's the speakers. If none of that works;
Look up your soundcard, you can get the model number from using
this software.
Then look up the drivers, download them and install them. Then reboot your computer.