Everyone gets cravings ever now and then (or more so for me). What I do to help this is to have a list of things that I can do instead, or distractions to get my mind off of it. Before a craving strikes, be ready to combat it by having a ready list of alternative activities to help beat the cravings. Things on my list:
Paint my nails
Read a book
Go for a run/walk
Clean the house
By having this list handy you can concentrate on something different and then watch how the craving starts to diminish.
Reply to this thread and let me know how this works for you.
Other possible distractions may be:
Play a video game
Groom your pets
Call your friends
Brushing your teeth