Usually people say they beat their head against the wall as a phrase but in your case i think you've actually done it literally