bad habits and chronic pain