I used to be like this until about ten years ago when I decided it was too stressful to worry about being broke all the time and having problems paying for necessities like fuel bills and food. So I worked out a very detailed budget, writing down all my outgoings; gas, electric, water, insurance etc. over the year, dividing it by 12 to get a monthly total, putting that much away each month and what is left over is for spending.
It was really boring doing it but worth it not to worry.
Oh, and I cut up my credit card so I wasn't tempted to use it. That helped a lot.