I'd add to this:
* change. if you get stuck, change your world. go for a walk, get fresh eyes. put a few plants on your desk... or take some away.
Sometimes you need to mentally bump your mind out of a rut to see why you were stuck in a dead end loop that made you give up.