I think a lot of us have been there before. Its basically avoiding and putting off the work as it feels insurmountable, which then makes you feel anxious as you are losing time to complete the work and it becomes a perpetual cycle.
In my opinon, you might want to start off with something small and achievable. This could just be making a list of all the things you have to do and its priority.
From there, pick one thing that you feel you can do, something you can tick off, maybe thats making revision notes/flashcards and completing a small homework task and when it's done tick it off. I find chipping away at it slowly but surely can help, just trying to do at least one thing a day until you get the momentum and motivation back.