After you file

If you used the IRS website to schedule payment - go back and cancel it. 

Federal tax direct debit payments can be canceled up to two business days prior to the debit date. To cancel, call the U.S. Treasury Financial Agent at 888-353-4537.

however, make sure the amended return is not taking into account this payment.