Sure it would have been better if you had not hurt each other. Sure it would have been better if you had just stopped before you shouted at each other. But what happened, happened. So what? It doesn’t make it better to feel sorry about it now – forgive yourself and the other person as well.
Let it go and find your own inner peace again. See it as a breath of fresh air to just let it all go and focus all your energy on feeling relief right now. It is ok!