After you file

Look at the amended tax return, Form 1040-X.  Is the refund amount from the original tax return entered on Line 18?

If it is and there is an amount on Line 20 that is the amount you owe on the amended tax return.