The safety of our friends, family, and loved ones is our number one priority, and that is why we are always looking for different ways to help them out of this situation that affects both of us.
Let them know that you can be the way out when they are hurting and in pain, you can be their release. Talk about the situation and be there for the ones you love, that is the best medicine that you can provide to them.
There's a lot of ways of letting the person in trouble know you are there for them, an example: gift them a song. Please give me an overdose of love is a song that inspires to rehabilitate or even avoid falling in this trap.
If you know someone who is dealing with this problem make them aware that you can be their support and that they are not going into this path alone. All problems have a solution, and in the case in drug addiction, it can be as easy as being there for someone in their darkest times.