Bristlecone interview question

what are the best ways to avoid errors during development