I have found that the best way to get out of states like that, is force yourself into situations you like and that make you be social because of its inherited nature i.e. Get into a salsa dancing academy, get into a french course, or whatever similar thing you might like. Be so busy your mind has no time to think about addiction.