And how you can use psychology to help you break out of the habits you want to lose.