Generally speaking, getting an earworm out of your head is a two-step process: figure out what the song is (if you dont know already), and then listen to it over and over until you never want to hear it again. Apps like Shazam and SoundHound are great at that first bit: identifying songs whose title you may have forgotten. But once you figure out that do do do do was from Toms Diner and not Semi-Charmed Kind of Life, youre on your own in terms of finding a way to actually listen.