Self Harm Toodler

My toodler 1 hits his self and bangs his self in the face when he’s sleep sometimes just randomly? Should I be worried ?