As you set out to change a bad habit or build a new one, think of yourself as both scientist and subject. Study your habit first. Get clear on the possible cues and rewards that are reinforcing your habit loop. Then go to work on changing your behavior.