Listen to your favorite music.
Go for a walk or do something else physical.
Call or text a friend.
Play a video game or do a puzzle.
Watch a cat video (or whatever makes you laugh).
Practice before quitting: The good news is that urges rapidly fade, especially if you distract yourself