run head against a brick wall

run one's head against a brick wall

Fig. to be frustrated by coming up against an insurmountable obstacle. There is no point in running your head against a brick wall. If you can't succeed in this case, don't even try. I have been running my head against a brick wall about this problem long enough.
See also: brick, head, run, wall