Read the bend the current is about to put in the line. Your correction gives it room to bend that way before it starts moving the fly.
In the plate, current runs from left to right. The near water is faster than the far lane holding the fly. The uncorrected line bows downstream; placing a curve upstream gives that fast water some line to work through first. If the line is instead lagging in slower water while the fly runs ahead, a downstream correction may be the useful one. Upstream is not a universal rule.
For an on-water mend, lift enough line to free it from the surface, move the belly and lay it down gently. Start as the cast lands, while there is still slack between the correction and the fly. Watch the fly throughout: if it jumps, you moved too much line or waited too long.
For a reach cast, make the forward cast, then reach the rod to the chosen side as the loop unrolls. Allow line to slip as needed so the reach changes the layout without pulling the fly back. Practise this on a short, easy lane before asking it to solve a difficult one. FlyLife’s mending article explains the difference between corrections made in the air and on the water.
Feed or retrieve loose line as the drift develops. A mend buys time; it does not make an awkward drift last indefinitely.