You will enter any overpayment if any, as shown on the original return or as previously adjusted by the IRS in line 18 of 1040-X.
In Part III of Form 1040-X, you'll need to provide a clear explanation for your reasons for filing an amended return.
Click on the link for more information
How to file Amended Return