Can you share a situation where you realized that your work was not up to the mark and what steps you took to improve it?

Free for the first 3 answer contributors

Interview question asked to Engineering Managers interviewing at Urban Company, Curb, Flipkart and others: Can you share a situation where you realized that your work was not up to the mark and what steps you took to improve it?.