Get the work done. Still try to do a little something even if its only a 20-30min run it might clear your head to.
I should have run instead of trying to code haha
I like PG's saying - something's better than nothing, and every little bit counts. So, work needs to happen first, obviously, but if you can get out for something short like Erin suggests, it does make a difference. good luck...
And like Erin says, running helps clear your mind