I normally find myself from youtube, 9gag or the forums just browsing when that happens, kills time fast enough so I can got to bed and forget about it until next time.
Only thing I can really say is that, find something simple that just kills time and/or professional help.
One thing that seem to help me for short periods of time is doing something, really anything with someone else, something physical or otherwise "catching" is most effective.