Making Peace with Restlessness

When restlessness and frustration hit, what do you do to calm your mind and make good decisions?