I've been using drugs for quite a long time. I mostly used DXM, the first year I was also on some weak opiates then switched to tramadol, and that's how 3 years of high school passed me by. I was mostly on tramadol.
I used to hit 1 or 2 months sober at times, only to fall off again.
As of right now, I am over 4 months sober, and I haven't reached such a milestone since my addiction started. It's hard, but I am doing good so far.
What helped me is asking myself; Why am I doing this? What am I trying to run away from?
For me, it was a break up. He was addicted to drugs as well, but was much more sober than I was. I was stressed everyday because of school, so that's how it started. When he left (cheated on me), my addiction spiralled. When high, he was the only thing I used to think about. My way of coping with the loss.
Forgive yourself. Realise that drugs were a way to keep yourself alive, keep yourself from spiraling more. And realise that is not needed anymore - because you learned your mistake and you're strong. Care less about people, grades - focus on yourself and become your own favourite person. Nobody understands you better than you yourself. But that brings us to the next question.
Who do you want to be?
Personally, it's better not to answer this question out loud, but to feel it without words. What do you want people to see you as? Because if there are some parts of you that made drugs seem like a part of you - a part of your identity and who you are - and you still accept them and feel comfortable with seeing yourself in them - then you cannot possibly stay sober for long. You have to completely abandon that part of yourself, create a future version of you that you know is cooler and that doesn't use drugs. You have to absolutely fall in love with that version of yourself, hate the old one. And realise the other version could be you - and it's realistic.
Remove drugs from your life. And social media content regarding it. Don't let it keep eating you.
Some other useful short-term solution would be setting a realistic goal for yourself. For example using drugs once every 2 months. Or once every 2 weeks. This year I relapsed once after 2 months into the year, then after 2 months I relapsed again, and now I am 4 months sober. For me, that is so big, I could say that's sobriety for me. Before that I was pushing 1 month sober, relapse, one month sober, relapse, etc. And before that I was doing around 2 weeks sober, then relapse. And before that I was relapsing everyday. This is a process. Look at the bigger picture, always. Think outside the box.
You got this!