Welcome to SR!
I have little experience in the drinking/using-friends area, since I did my drinking home alone, but I do know that in order to succeed I had to make it my first priority and do 'whatever it takes' to stay sober. I wish you the best in your recovery.