About 100 m before a bend tight enough to need real braking.
What to do
Brake on the straight, not in the bend, and be in the gear you want before you turn in. Braking hard once the vehicle is already leaning is what sends it across to the other side of the road.