There’s a very good book on self-discipline I read. It was written by Roy Baumeister and contains pretty much the best advice on the subject I’ve read so far.