When i was about 10-11, i too would listen to music. I knew it was a wrong thing to do, but i just couldn’t admit it. Months passed like this, by the time i was 12, Allah gave me hidayah, I wanted to change, I wanted to give up this sin. I wanted to acknowledge the fact that this is a haram thing to do.
I started to take music detox and detox for the apps i mostly use for listening to music. I replaced music with islamic nasheeds and I started listening to Quran with translation. There're plenty of videos on YouTube of Quran recitations with translation. Days passed without music, then weeks, months and now almost 2 year. Alhamdu lillah, I don’t want to go back to that path anymore.
Some people may try to tell us music is halal, but it is harmful for us. Music subconsciously affects our mind.
I surrounded myself with Islam, my friends, in my phone, the people I follow, in my room, i tried to have that islamic environment. We are social people, our brain constantly wants us to fit in. So when you have that islamic environment, because others are praying, not listening to music, reciting Quran, you will wanna stop listening music too. Because now you wanna fit in with others.
Keep learning Islam, we should do whatever to we can to keep ourselves motivated.
It's okay if you struggle because we all do at some point. The essential thing is that you wanna improve and your efforts will be recognised. May Allah help us!