I found that when I quit doing dope a long time ago I had to disassociate with all my former "friends" which left me even more alone than I normal am. that, fortunatley, was offset by me being in university and the gym. Perhaps you can look for other activities to get you out of your head.
Peace, Levi