I Made a Mistake, My Husband Has Lost Trust in Me

I was trying to help my sister by contacting this man. My husband saw these messages. He lost trust in me and we always argue. How to make things right?