It’s hard to apologize, but harder on you not to. I was wrong. I feel bad about it. I apologize. How can I make it right?
There is no right way to do the wrong thing. But, there is a right way to right the wrong thing: Do the right thing. Now.
Promptly admit it when you are wrong and strive to right the wrong, so the wrong won’t ache so long.