The answer is actually simple: plan out your time.
Get a day planner or use the calendar app in your phone.
At the start of the semester when you receive your course syllabus on Canvas, write down all of the important test and assignment due dates.
When you get your work schedule from your boss, put it in your calendar.
Do you have a social event that you don’t want to miss? Include that too.
Once everything is kept in one tidy place, it’s much easier to keep track of deadlines and to plan out your time in advance.
If you notice that you have three assignments due in one week, start working on them early.
You have four exams during the last week of February? Take one less shift at work that week so you have enough time to study.
If you do these things, the next time your instructor comes around to collect homework, you’ll have your assignment completed and ready to hand in. Phew!