I thing this has a lot to do with time management and learning to prioritize. Sadly, there’s no recipe to learn how to do this. My recommendation would be to take a step back, think of all the tasks ahead of you and try managing your time according to the number and difficulty f tasks assigned.