I have found that getting up and doing a small task helps get me going. Especially when I'm stuck, bored, frustrated, or can't stay focused.