Writers sometimes make a pact with themselves to write a certain amount of words every day; or they commit to do nothing but write during a certain time of day.
Willpower: Rediscovering the Greatest Human Strength
Positive thinking makes life easier, but the key to success is discipline. Fortunately, one can practice discipline by training one's willpower.