Immediate interruption of your negative behavior and replacement with a positive activity.
Most urges are over and done with after a few minutes. Many urges are gone in 30 seconds. So if you plan a strategy that occupies you for 10 minutes you can overcome your urges. Start right now by deciding on a way to interrupt your negative behavior and replace it with a positive behavior every time it comes up. Make a list of healthy enjoyable activities with which to replace your negative behavior. When you feel the urge to eat, do drugs, watch TV, etc., you need to immediately interrupt your old pattern of behavior with an action such as the following...
Or anything else to snap yourself out of your old behavior. Then immediately begin a replacement activity like the following...
or any other positive activity on your list.