有則改之，無則加勉

Idiom

 * 1) correct mistakes if you have made any and guard against them if you have not