Bang One’s Head Against the Wall (Against a Brick Wall)

What does the idiom “Bang One’s Head Against the Wall (Against a Brick Wall)” mean?

Definition:

Try repeatedly to do something without making progress

For example:

“Susana has been working on the data for three hours, but she says she’s just banging her head against the wall.”