If you say something offensive or inappropriate, the best thing to do is apologize to the other person and own up to your mistake.