If you think you want it. Try it, if you obviously didn't want it. The feeling will evaporate. If trying said desire is harmful in some way, emotionally or physically. Do not try it, instead!
Find a hobby to distract your self. Said desire will slowly evaporate as it stays in the back of your mind.