What are the best practices of Continuous Integration and Continuous Delivery?

Can anyone please inform me about the best practices of Continuous Integration and Continuous Delivery.