7 month old keeps hitting head omg!!!

My 7 month old keeps hitting her head on her crib or the bath tub!!!! Literally every time. She hits her head multiple times a night on the crib. Is this ok? I’m literally so scared