This has been happening for many years now, where I would on and off pull all nighters or not eat anything for an entire day. 

I seem to swing back and forth, where I have periods of time when I will eat consistently and gain back all the weight I lost, go to bed on time, and exercise. 

This only lasts for a few weeks or so before I cycle back into not sleeping or barely eating. 

This is a hellish to live with, I don’t know what to do. Yesterday was the worst I’ve had it ever. I didn’t do anything. I stayed up all night and in the morning I didn’t get out of bed. Usually when I pull the all nighters I at least get out of bed and eat one small meal, but I stayed in bed. All day. Didn’t eat anything at all. This is the lowest I’ve ever felt in my life.

How do I stop this never ending cycle? I’ve tried so many times to break it, really REALLY tried, thinking I was making progress only for the depressive episodes to cycle back out of nowhere.

I’m truly at a loss of what to do, any suggestions are appreciated.