RE: How do you make computer work less stressful?
Less distractions – switching off all notifications; training myself to not check emails; there are also apps that block specific websites for a defined range of time; you can train it like a muscle.
Examples of good apps to help lowering distractions and optimizing the according behaviour of yourself:
https://www.proginosko.com/leechblock/ (nerdy one)
https://www.forestapp.cc/ (playful one, it keeps growing a forest until you break the pattern)