When are you done pumping?

For many parents pumping is a huge part of their breastfeeding journey. But how do you know when it’s time to stop?