Crib?

My son always rolls over and bangs his head in his crib

He’s 4 montbs old almost 5

It’s the safest place for him other than that…. What do I do? I know I’m not supposed to put anything in there

I also move him closer to the other side so when he does roll over he doesn’t bang his head, but somehow still does