I'm having chronic depression and shitty anxiety for god knows how many years have been and wasted most of my childhood isolating due to this shit and I used to abuse my medications (in the past). I know I'll regret for not living my teenage years if only I didn't have these I hope those kids out there would be thankful that they don't have this shit.
I don't know how to beat it either I can't say that things get better like anyone because it will give you false hopes because it's a gamble You know if you live long there's a chance that good things may happen who knows? maybe the future you will thank you for not giving up on these times and because of it he found something worth living so Make that as a reason to live life
So speaking from experience, do things what you love. depression is very vague feeling and most of the time you can't figure out what you want to do. All I can say is take your time find a reason to live think about it even so trivial things can become a reason to live.
Try playing video games, watching anime and try socializing even a bit. Make sure you keep yourself busy and distract yourself on work, videogames etc. and never give yourself a chance to think. If you cant sleep work until you exhaust
Struggle survive and survive because that's what we always do