Giving out drugs to people is never a good idea. No matter how "close" you think you are.
1. If they are asking for drugs and/or only around when you have something, they are not friends.
2. Giving drugs out to people just increases your chance of getting caught someway somehow (as you may have learned by now).
3. Doing heavy drugs at a young age leads to a bad road, although you might deny it.
Hopefully you come out as a better person than before after rehab (again).