Go to the bank and withdraw cash
Let’s say you have made your budget and figure you need to spend $300 in the grocery store. Go to the bank and withdraw exactly $300. This way, once you run out of money to spend you know you are done. You are less likely to make frivolous purchases on your credit card if you go the cash-only route.