How to write an loads essay

I’ve got loads of homework to finish essays ect but it’s really late, how do I keep my mind working?

how do I conquer tiredness to the point where I can think clearly? I really can’t just do it in the morning, I need to do it now.