Craving help?

Can you get rid of a craving by not eating what you are craving? All I want is a big juicy hamburger but I don't want to drive all the way into town for one... I've tried eating other things and so far I'm starving for this damn hamburger still :/