By terrible, do you mean that the sound is grainy, or is it missing bass/mids/high end?
If it's grainy, it has been ripped at a low bit rate. If you got it off LimeWire or similar, you don't know how many times its been ripped.
I like my music at 192kb/s AAC. That seems to avoid the grainyness of the lower rates.