2 things I would suggest from my experience staying sober.
1. See your Dr. & be totally honest about your drinking.
2. Go to some sort of face to face support group with a long term program of recovery.
I went to a Dr. who sent me to detox, detox suggested AA to us, I went to AA, & using the fellowship for support worked the program and remain happily sober today.
In regards to freinds, well I still have friends that are normal drinkers who rarely if ever drink around me and a ton of sober friends both in & outside of AA.
There are drinking/drugging friends & then there are real friends, quitting drinking & drugging & taught me the difference. I did not drop the drinking & drugging buddies, they dropped me & to be real honest I do not miss them a bit.