One. Think about whatever trigger makes you crave something you want to stop.
Two. Imagine the movie starting from this point and immediately white it out. So start the craving image and immediately white it out.
http://more-sky.com/group/white-abstract-background/
Three. Replace the image immediately with an image of yourself engaging in a new behaviour, looking happy and being free. This will allow you to attach the craving to the thought of you being free from the habit.
https://news.unl.edu/newsrooms/today/article/sheldon-to-feature-large-scale-artworks-in-new-year/
Four. Repeat steps 1- 3 a few times and notice yourself feeling differently about it.
https://www.laurenbacon.com/its-here-my-new-e-book-on-asking-better-questions/