Creating positive habits and breaking negative ones can help you develop self-discipline and achieve your goals.