Not sure you can ever have “training” to deal with this as I believe each incident can be very different unfortunately- it also depends how long it’s taken them to stop (think it takes about 1/2 mile to stop a 200tonne train - maybe more depending on how fast their going- if they do hit someone, they obv stop, have to (generally) walk back to check if that person requires any medical treatment, etc and block the tracks whilst calling for support.
they then generally have a chain of care with a manager going out to meet them and depending on the person they may have paid for counselling - some go onto have PTSD so can make home life difficult- it really depends on how it happens(& their own resilience)
One of the issues currently is that some train companies are looking to remove train managers/guards so if this was to happen drivers are worried about how they’re supposed to handle this - do they leave the train full of passengers to go check the condition of the person they’ve hit (sometimes these people survive) or stay with the train and just call the urgent helpline they have (which sounds in theory but on a night like tonight where it’s dark, raining and windy) will they really know exactly where it happened? If they get it wrong that person may not survive
some people do not cope and become train managers/guards where they are less likely to actually ‘see’ it happen
i do think it really depends on the incident that you’ve had
family member had a bad accident when they hit a car parked on a level crossing - that caused severe PTSD and had lots of CBT, not helped as the. Had to attend court and they showed the video of it happening (most trains have forward facing cameras) which put them back a bit 😞
2nd incident didn’t effect as much as it was just person vs train situation
These are things the OP does need to consider when choosing this type of career as it’s not like you can swerve to avoid as the train is on tracks!
but family member has been a TD for 30 years and loves their job 😊