Habits are complex, and breaking them isn't easy. But understanding them is the first step to changing them.