How to deal with impulsive decisions

I’ve always been super impulsive. I hear a song that pumps me up and next thing I know I’m cutting off all my hair and bleaching it. Ive pierced my ears, cut and bleached my hair, moved out of my house all on a whim. I was wondering if anyone new some things to help with impulsive behaviors in the moment?