This could be a number of things, firstly, make sure ypu arent running if he does this, pick him up in a scoop, maybe hold him under your arm til he calms, how many hens do you have? Is it noisy there?
Thats great advice, though i wouldnt reslly recommend catrying them upside down for a while, the reason they stay calm like that is because its blocking their air flow, and they could die like that. I usually hold mine under my arm a tight grab on the wings, that always calms him down