How to stop impulse buying and save money?

My urge to impulse buy things has been a huge problem in my life. Right now I'm about 2k in debt and I haven't been able to make a single payment in months because I'm working a minimum wage job right now and my brain commonly thinks "this thing would make me happy, let's buy it!" every time I get money.

Does anyone have a methods or advice on how to get a handle on impulse buying and on saving money?