Having accountability helps. Blogging about your new change, or posting it on Facebook or Twitter (I know, a bit ironic), can help you feel some public accountability. Tell everyone you know that you’re not going to check Facebook (for example) within 15 minutes of starting an important work task. My friend Michael Ellsberg uses negative consequences (something I’ve done in the past as well): if he eats sugar or refined carbs, he has to make a donation to Mitt Romney’s presidential campaign (not a good thing for Michael, who is not a Romney supporter). Leverage the power of social media to beat social media.
From Zen Habits.