The goal is always the same: Stop thinking when it’s not helping you.
I believe that the only way to deal with it is from a practical point of view: You have to learn how to stop thinking when it’s not useful.
Biologically, we’re wired to love music. A study found that when listening to your favorite music, your brain starts to release dopamine into the nucleus accumbent, or “reward circuit” of your brain, at peak moments in the song. It feels great.