Music has powerful influence.
Be critical of what music you listen to. Most modern music is created to directly influence a particular demographic. What do you listen to? What is its message?
Do you tolerate cursing/foul/sexual language? Is it positive, or does it promote evil? Be on guard, and not just say that “you like the beat.”
Listen to what is positive and good.