If you hurt someone, you need to apologize to that person, expressing him/her how you feel guilty about hurting him/her.
You can give him/her a SORRY card along with some little gift... This is usually how some people tend to express their apologies...
Also, you must promise him/her, and yourself too, that you will never hurt him/her again and that you will make him/her happy.
Hope this helps :)