Flowering shrubs should generally be pruned immediately after they bloom. Pruning at the right time helps ensure that you don't cut off next year's buds, maximizing flowering potential.