Complain about it.
Walk away from it.
Work on it.
That’s it, no further explanation needed. You can apply all three to any problem – get angry at it at first glance, take a breather from it and then come back to work on it.
Nothing wrong with that approach, just don’t focus on the first two for too long.