sometimes the problem is that we are stuck in a pattern. Drive by fast food place, stop and get food. Sit in front of the TV and snack. We are a bit like pavlov's dog. see DQ and we start salivating
One solution is to look at all the places/times you eat in a way you consider inappropriate and try to change patterns. example: drive home in a different way. put your wallet in the trunk of your car so that you can't automatically go through the drive through as you would have to stop, get your wallet out, etc. Don't carry your wallet. Make a rule that you can only eat sitting at a table. no eating anywhere else.
I used to put a chair in the entrance to the kitchen to block the entry way as everytime i passed through i was tempted to grab a snack. Having to move the chair, would jolt me into thinking. Am i actually hungry or just bored? I instituted a rule that i could not eat in the car. If i wanted fast food. I would park, walk in, stand in line, sit down at a table and eat properly (as i only allow myself to eat sitting at a table). Turns out i am too lazy to do all that!
Changing patterns gets easier over time. That with good planning is one of the keys to success. So, if you know that the drive home is a problem for you, pack a healthy low calorie snack that you enjoy and can eat in the car. Or make your car a 'no eating' zone. Or consciously drive a route that avoids all fast food chains.
Good luck!