Learning the skill or re-racking a barbell onto your shoulder takes practice to develop the timing.

Go onto your toes as the bar descends and use your legs as “shock absorbers” to soften the weight landing on your shoulders.