To recognise one's failings and attempt to remedy them.
mend fences
To repair damage to a friendship or relationship after a disagreement …