Gotta move fast and assertively ....and peck them back!
Have had this happen several times, mostly with hand fed chicks often as they come of age and get spunky. It's pretty easily curbed with calm and deliberate determination.
I peck them back, on the head or anywhere I can reach, with the...