BABY MEDICINE HELP PLEASE!

Has anyone been prescribed IC Hydroxyzine for their baby? Our almost 6 month old son scratches the crap out of his head if he wakes up in the middle of the night (which has been happening once or twice every night for a while now), and will only go back to sleep if we feed him and rock him or else he will just keep scratching. He has eczema and sensitive skin so his doctor prescribed IC Hydroxyzine to give to him before bed to see if that would help with the itching/discomfort and help him sleep. I was just curious if anyone else has used it and if it helped!