Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
One way to do this is using the "Picard" app from MusicBrainz. This reads the 'audio signature' of your MP3s and finds teh actual tracks in its database, and can then do lots of useful things with the metadata - so correcting track / artist / album names if needed, and adding the correct artwork for the tracks / albums. It can also add lots of extra information that is cool but not something you'd necessarily go looking for yourself (like who wrote the song, what the release date was etc.).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.