If you know you have offended someone, the best thing you can do is apologize. Make sure your apology is genuine, and don't overdo it. If the person doesn't forgive you, you may just need to move on.