If you were able to keep yourself from using daily in the first place, you wouldn't be where you are now. This is the mildest withdrawal you'll ever experience. They get worse every time.
As the other poster said--you are at a fork in the road. I always like to think of them as crossroads. It's time to pick a way to go. I would bet a years salary of where you end up if you take the "try to use every few days" path. If you take that one you are going to look back someday and pinpoint "if I just would've stopped then"
I wish you the best and I know how hard it is being young. I was in rehab before 21. And back then that was not common. Wish I'd have got it the first time around, as I took the wrong road at many crossroads. That's why I hate to see someone young go down the same path.
The heroin wd is what's making you feel depressed and lonely and such. I promise you, don't use and that will go away. It's a very very common wd effect.
Just hang in there. Keep staying busy. Stay around people. Give yourself a chance. Remember what I'm telling you--this is by far the easiest wd you will ever go through. From here you get wd after using sooner, and it's much worse every time.