“I unintentionally hurt him. I’m sorry for hurting him but I don’t think I’m wrong ” Start by saying that to your friend, and adding that you can work things out, that is what friends do. Let your friend know that you value this friendship and thus wish to repair the differences.