Scratching at night PLEASE HELP

I don’t know what to do my 5 month old scratches his head throughout his sleep really hard and I don’t know what to do I try and keep his hair moisturized but it’s like nothing I’m doing is working with the night scratching and he does it so hard to the point he has little scabs in his head. Please help ladies !