Correcting Accounting Errors

What’s the proper procedure for correcting an accounting error?