braking distance for a train above 100 kph is 1000 meters. generally, for a passenger train, it depends on type and class of locomotive attached.
the crew applies the brake normally at the certain distance, where the train's speed decreases. sometimes its generally seen, they reduce the speed to certain kph n apply the at the exact moment so that the train fits in the pf, and this is generally done by experienced crew.