How do you know when it’s time for a change?

For those that have been teaching for quite some time, how do you know when it’s time for a change, and what kind of change to pursue?