People who play contact sports like football are especially prone ... Practice strengthening exercises to keep your neck muscles strong and limber, especially if you have had neck strain before.
The exercise is simply to keep your chin level and bring your head back into the door increasing the level of “straightness” of the neck and decreasing the forward head posture.