Work on finding ways to stimulate dopamine, endorphins, and other feel good neurotransmitters- but especially the first 2 if your drug of choice was/is opioids but you don't want to use anymore. One of the best ways I've found is working out. It wasn't really all that enjoyable at first when I was really out of shape, but over a year in of being consistent I actually look forward to my workouts and how good I'm going to feel afterwards. It's crazy to say, but I enjoy it much more than getting high because there is no guilt and I know it's good for my health. Not to mention the self esteem boost when others notice, versus the self-esteem destruction from using drugs.
Another good way to kick a natural hit of dopamine is by learning something. Pick a topic that interest you and really dig in. Force yourself to sit there and work at a topic/concept until you really understand it. When I'm trying to wrap my head around something, it usually starts out a little frustrating and then becomes increasingly exciting the closer I get to understanding it/removing confusion.
Socializing and having an interesting conversation are also very good ways. Socializing with people who you are comfortable with and who are accepting of you can really change the way you feel almost immediately. This is probably one of the harder things to do when in recovery, for me at least. It's definitely one of the more rewarding things, but can feel a little risky for me. If the loss of relationship is a trigger for you, might be better to focus on things you can do on your own for now. I know having things I can fill my day with and enjoy myself makes me feel so much more independent and confident.
Meditation can also be good. I like combining it with some yoga or just stretches. Or doing some yoga while listening to a podcast if I need to take my mind off something.
One of the things that really helps me is to remind myself that cravings are temporary, and even if they get so bad where you can feel it in your chest/stomach, it will fade almost as quickly as it came on. The mental obsession can be difficult to break, but I've found that if you do something that is naturally stimulating when you are craving, it's much easier to get over it. It has actually made me start craving the replacement activity over the drug activities. It can be so annoying when you catch yourself constantly thinking about drugs, but don't give up. Keep fighting and forging healthy habits.
And one last thing, and probably a big thing, whether prescription or not, using sub(or any opioid) and benzos is probably going to cause some cravings. I know subs are supposed to help with the cravings in the short term, ultimately they are still an opioid and long term goal should be abstinence unless not possible, in my opinion. Not trying to judge or say what you should or shouldn't do, just that I think that using any form of opioid, whether partial or full agonist, is going to cause cravings for more opioid agonist. Also, it's going to decrease the natural levels of morphine like substances(endorphins) as well as decreasing your sensitivity to these substances(opioid receptor down-regulation), making these naturally rewarding activities less rewarding. Benzos lower your inhibitions, which I don't know how it scientifically causes cravings but I know for myself they make me want to do every drug ever, even if I hadn't been craving or thinking about them.