To human is to err… it is natural for us to make mistakes. It is how we learn to go about our lives. But you can't simply ignore the fact that your mistakes might hurt someone's feeling. So you need to apologize sincerely. Tell them it won't happen again.