
Be banging, etc. your head against a brick wall
Metaphorical Pain
Imagine the frustration and pain of actually hitting your head against a wall — the phrase shares this strong emotion. 
Figurative Usage
Used figuratively, not describing a real action, to express effort with no results. 
Fruitless Efforts
Highlights the sense of futility when actions do not lead to success. 