Please read not looking for judgement just help

So today me and my boyfriend got into a pretty heated argument and he left my house and headed back home to his and the argument was over something pretty stupid. Anyways I got so frustrated to the point where I actually started beating my head into my granite countertops. Not looking for any judgment but has anyone else had an experience with this type of scenario and how can I get him to understand where I’m coming from because now he just thinks I am a sociopath/psychopath. Clearly this was totally in my control and I chose to do this but he had a huge part to play in that whole situation and why it happened and why I did that. I’m sure your first thought is why the hell is this girl getting her head into the granite but you don’t understand how my boyfriend is well now we’re broken up so ex-boyfriend but this man really knows how to push my buttons and clearly I lost control. Can’t talk to any family members about this and I don’t really have a lot of friends so please not looking for harsh comments here if anyone wants to reach out and give me some advice I would really appreciate it