Sometimes I get edgy. For any of a variety of reasons.
I typically have 2 outlets: one is to throw myself vigorously at a task until it's complete and/or I'm completely exhausted. This removes the immediate problem, but only forestalls resolution of the underlying issue. The second method is to identify that issue, and take care of it.
I'm doing the first one right now - applying myself at some support for an old employer on a one-night contract. It's now 3:41am, so I've been at this for the last 5 ½ hours. It's taking off the edge, but I'm really going to pay for this tomorrow. I might have to work from home on Friday just to stay productive.
Either way, Mike's going to whup me at chess when I show up for work in the morning.