This is a given, but have a set budget and track it monthly. Creating awareness around your spending is the first start in getting control of your natural tendency to impulse buy.
No list no shopping.
It really is that simple. Once at the store or online, be sure to only get the things on your list and avoid getting other things.