The phrase "like a chicken with its head cut off" is used to describe someone who is panicking or acting in a crazy way.
Example in use: “Julie was so anxious to leave that she was running around like a chicken with its head cut off.”
The expression’s origin comes from the fact that a chicken’s body sometimes runs in circles even after the head has been cut off.