Because repotting fixes so much, it gets applied to situations it cannot help. These are the cases where it makes matters worse.
When the plant is in flower
Flowering is expensive, and a plant spending resources on blooms cannot also rebuild roots. Repotting mid-flower usually costs you the display and sometimes the buds as well.
Wait until flowering finishes. For orchids that means after the last flower drops; for amaryllis, after the leaves have died back.
When it was repotted recently
A plant that has been potted on within the last year almost never needs it again. If it is struggling, the cause is something else, and repotting again compounds the disturbance.
When the plant is already unwell
A plant that is wilting, dropping leaves or generally failing is not in a position to recover from root disturbance – unless the roots themselves are the problem.
The distinction is whether the trouble is in the pot or outside it. Rot, root pests and collapsed compost are in the pot and justify repotting. Cold damage, scorch, spider mites, dry air and low light are not, and repotting a plant suffering from any of those simply adds an injury.
In autumn or winter
Unless it is an emergency. A plant repotted in October has damaged roots, more compost than it can dry, and no growing season in which to recover.
Immediately after buying
Give the plant four to six weeks to acclimatise first, unless there is something actively wrong with the medium it arrived in.
When the plant prefers a tight pot
Peace lilies, clivia, hoya, spider plants and several others flower better confined. Refresh their compost in the same container rather than potting on.
When you only want to fix the appearance
Moving a plant into a nicer pot is a perfectly good reason to do it in spring, and a poor reason to do it in November. If the aim is aesthetic, use a cache pot – drop the nursery pot inside the decorative one, raised on stones so it sits clear of any runoff.
That gets the look immediately with no disturbance at all, and it is what most people should be doing with decorative containers anyway.
The general test
Ask what specifically repotting will change. If the answer is a genuine root or compost problem, do it. If the answer is that it seems like the sort of thing that might help, it probably will not.