Here's how it can be used in a sentence:
* "I lost my head and agreed to buy the car even though I couldn't afford it."
* "When I saw my favorite band perform, I lost my head and started singing along loudly."
The idiom suggests that the person's reason and judgment have been temporarily overridden by emotions like excitement, anger, fear, or love.