If someone is running round like a headless chicken or rushing around like a headless chicken, they are panicking when they should be thinking carefully about what needs to be done.
[mainly British] Instead of running round like a headless chicken use your efforts in a more productiveway.