I'm not sure what you mean. We all can hear music in our minds, when just thinking of a song, it will play out in our minds. But are you saying you actually are hearing music without thinking about it?
Stop listening to music and then see if it helps.. if problem still persists .. consult a psychiatrist.