How to regain your client's trust after a slip up

Customer service is a complex of multiple tasks and there is a lot of room to make a mistake. Every company every now and then makes a mistake with its clients. But what distinguishes good companies from bad is the way they handle a mistake.