You sound over worked. Try:
- isolating yourself in a library with no internet (turn your phone off)
- do this for an hour or two
- then go on a walk or go get lunch. Something fun and easy but not technology related
And finally (this is the most important step) observe how you naturally react to this pattern and adjust accordingly. You have to learn to outsmart yourself which is the hardest thing you’ll ever do