Urge surfing is a term coined by Alan Marlatt as part of a program of relapse prevention he developed for people recovering from addictions to alcohol and other drugs. It can actually be used to help with any addictive behaviour such as gambling, overeating, inappropriate sex or any other destructive impulses.
http://www.mindfulness.org.au/URGE%20SURFING.htm
http://www.mindfulness.org.au/URGE%20SURFING.htm