I always try to finish things before the end of Friday, or get it into a stable state. If there is still time left on Friday I will simply do other things which can I also wrap up before the end of day. So I try not to get "stuck" with a problem on Friday at the end of my working day.
The things I do to "wind down" on Friday afternoon include cleaning up code/documentation, or reading unrelated technical articles. Whatever you read should be unrelated to the problems you were solving, otherwise you might get inspiration for the problem you were working on.
Once it is actually gets weekend my mind is at ease concerning the work problem and I'm free to do whatever in the weekend.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.