Stability and instability of orbits