If you haven't done so already, you may want to get a medical check-up before you start your physical training to talk about exercise, diet and sleep. If you are going for days without sleeping and there is some medical or psychological reason that also needs to be looked at alongside any good advice posted here.

Good luck.