Balancing it all is not an easy task however I would recommend that you prioritize the essentials first such as education and work, especially if you have important upcoming tests.
You could try to make a weekly schedule for yourself. First you gotta figure out how much time you spend on work every week and then how much time you need to study & get good grades as a result.
I would imagine that it varies depending on tests and subject.
After making a calendar you know how much procrastination time you have and this is where you have to figure out what you want to spend that time on.
If you are extremely short on time you can do some excesses in your bed when you wake up, on the toilet, shower and before going to sleep.
It’s not easy but don’t let your dick slow down or hault your career ;)