Baby Shaking head

Ri

My 3 month old has been shaking her head in bed. She was in her pack and play; she did it so hard last night that her little bald spot started bleeding 🥺 we switch her to her crib which has a softer mattress but it’s still red and sore looking.