How do I pull an all- nighter again?

I pulled an all-nighter yesterday—didn’t sleep at all because I had two assignments due. In the morning, I went to uni, submitted them, and crashed into bed around 2 pm. Woke up at 5-6 pm, so I got about 3.5 hours of sleep. Tomorrow, I have two more assignments that’ll take forever, so I would have to pull an all nighter again. Rn I have body pain and it will possibly be almost impossible to attend tomorrow's classes. Any tips on how to get through this? Should I drink lots of coffee? Would a quick nap help if I can manage it? thanks in advance