After you file

If your refund went down you owe the difference, because 1040 and 1040-X are processed separately.

 

@Beckettk75