LO hitting the crib

AB

My LO keep moving around in his crib while sleeping and hitting his head and legs against the crib. I’m just nervous about his head hitting the crib but he keeps moving trying to get comfortable