It's easy to waste an hour or two on Facebook or email without even realizing it. The best way to avoid this is to eliminate any distractions as much as possible. Close all browser tabs except the one you're working on and turn off notifications on your phone and computer.