What is the meaning of [Bang One’s Head Against the Wall (Against a Brick Wall)]

Try repeatedly to do something without making progress