1. Get medicated. 2. Set one small baby-step goal each day. (set an appointment today, etc.) Change the goal every time. 3. Change your environment. Move cities or schools if need be. 4. Exercise. Start with one rep on day 1, two reps on day 2, etc. Baby steps. 5. Ask for feedback on stuff. Any positive feedback helps motivate you to learn and do more projects. 6. Seek a healthy relationship. 7. Be vulnerable. Let so…
To answer to the original question, one of the easiest and potentially best solutions is to pick up an sport if you don't practice one and to spend more time with other things besides programming. Forget about programming for a few weeks. Do your college duties and don't spend more time than that. Go do other stuff. I've gone (and still do sometimes) through the exact same thing.