The best way to get rid of talking to yourself in your head is to use the void technique, which is clearing all thoughts and letting them bounce off of your head. This would work to an extent also though. Practice it while you aren't sleeping it just makes it that much better when you are trying to sleep.

Oh and btw in my experience having that song stuck in your head is no big deal I still fall asleep just as fast and just had a lucid couple nights ago with that song still stuck in my head after using the void and other meditation techniques