Cravetimer is a free, simple tool that helps you beat cravings. Reset with short or long breathing exercises, or distract your mind with a 30-second rapid-tap challenge.
You can't really think your way out of a craving, because it isn't a thinking problem. Slow breathing calms the part of your nervous system driving the urge. Tapping gives that same restless energy somewhere else to go. Neither one fights the craving directly, they just buy it time to pass on its own.