If you can afford it, get some sort of professional help. It doesn't have to be a 6 month in-patient stint at a detox/rehab center if that's not what you feel is best for you - I recently went through an "intensive outpatient" group therapy program (5 days a week at first, down to 3 by the end, 3 hours a day, plus a weekly 1 hour one-on-one and occasionally getting pulled out of group to talk one-on-one with a psychiatrist), and it was far more helpful than I expected it to be. I'm very much an introvert and I've never really talked to anyone about drug use as a problem (not honestly, anyway; like any addict, I became very good and very comfortable telling everything from small white lies to elaborately constructed fictions based on how much of my actual use I was willing to admit to any given person), and I didn't talk directly about drug use very much in group (the subtext was clear enough to the handful of group members I got to know individually and told about my recently having quit H, but to the rest of the group I was just an occasional cannabis user struggling with social anxiety and ADHD), but simply talking about some of my struggles with basic day-to-day life (returning to a normal human sleep schedule, forming/repairing social relationships I've neglected for years, developing healthy and productive daily habits and time management skills, etc.) in a confidential, non-judgmental space was incredibly therapeutic. I had to sign disclosure agreements allowing my school to receive copies of all the notes about me from that group, and I really don't need them to know any more than they already do about my recovery, but obviously if you pursue a program like that I strongly encourage you to be honest and open about everything you're going through.
I met a few people in that program with whom I will do my best to remain in contact, friends I know I can turn to for support if I find myself in dire need of someone to talk to / a place to crash where I will stay clean for at least another night / advice from someone who has been through a lot of the same struggles and come out the other side. I also met one person who has become a very close and amazingly supportive friend, the first person I've ever admitted the entire scope of my past and present drug use to and the single biggest positive influence in my recovery of anyone in my life. In a couple days I'll be attending my first SMART Recovery meeting with her, where I intend to be entirely honest (although it will probably take me at least a few meetings to become comfortable enough to be entirely open - I'll disclose things piece by piece in my initial shares, starting with the most recent and relevant issues, and provide the full context/backstory when I'm ready). Having one person there who knows me and who I trust completely should hopefully make it easier for me to warm up to a new group setting, but this kind of thing is still quite new to me and I've never been the sort to open up quickly or easily to new people so it will be a challenge. SMART meetings are free, and there's none of the religious talk or "you have to admit you're an addict for life and lack the power to fix yourself" line of thinking that AA/NA are known for (I don't like to bash programs that help a lot of people, but personally I could never get anything out of a program like that and know that line of thinking would be rather destructive for my own recovery).
If a professionally run therapy program isn't financially viable for you, or you're just not interested or willing to participate in one, a support group would be a good alternative. If you're anything like me, simply talking about this shit with people who will understand and offer advice or support rather than judgment, empathy rather than sympathy, will help a lot. Meeting some new people who are also recovering addicts will help as well. All of my friends from before the outpatient therapy program use at least some recreational drugs, and drug use has been a part of virtually every social activity I've engaged in for the past decade or so. Now I'm starting to spend time with people (well, so far one person, but I'm working on that!) hanging out while sober. It gets me out of the house, reminds me that I used to be able to have fun without any chemical assistance, and it motivates me to stay clean myself, lest I disappoint or become a negative influence on a close friend who has been nothing but a positive influence on me. I find it a lot easier to take pains to protect the well-being of someone I care about than to take pains to protect my own well-being, so knowing that a relapse would put her sobriety at risk is probably a stronger motive to stay clean than knowing how badly my addiction fucked up my own life.