I'm guessing your issues were not so severe if "keep trying things forever and telling yourself to get over it" is the epiphany which helped you, clinical depression doesn't go away that easily.
Late reply but in case you come back to this, the thing that helped me out of clinical depression was 150mg of bupropion twice a day for a few years, then I was able to get out of bed reliably enough take up cycling.
If you feel you're clinically depressed get diagnosed and treated in a clinical setting ASAP. Diseases need treatment.
My winning alternative is not to go online and be the mental health equivalent of that survivorship bias fighter plane image. "Just tell yourself to get over it" is advice that can only possibly work because you didn't actually need it.
When this doesn't happen what do you do?