What I like to do sometimes is to try studying first then do my homework.
A usual tip is to keep in mind that homework is also study/review that a teacher wants to give to you to help you understand the concept of your subject better. So when you are doing your homework always think it like your studying. This will help you retain more info and keep you mentally destressed!
Hope that helps!