How fix coding errors in Xero

What if I make a mistake, how do I fix it?

Please be aware the Xero Dashboard has changed in appearance but the underlying functionality has remained the same.