If the customer had a bad experience because you or your team made a mistake, sincerely apologize. Depending on the severity of what happened and your product or service, make up for it by offering compensation such as a refund. If it was a moderate or serious issue, mention a change you'll make to prevent something similar from happening.