How can I avoid spending too much?

I’m very spender when I have money, I buy some kinds of stuff even if I don’t need it if I see something beautiful in my eyes I’ll buy it right away, I didn’t think that I didn’t really need it.
I am running out of money because of this. I decide to delete all my application shops on my phone so that I can avoid spending too much.
Please give me some advice.
Thank you so much!