Since my crystal ball is in repair currently I have to ask for some information:
1. Which distribution in which version.
2. We need to know which sound-hardware you are using.
3. Have you tried to unmute your sound with alsamixer
on the commandline?
For getting more information about your hardware please post the output of the commands