The amended return should have shown a balance due to "repay" the excess refund.
There are several ways to pay.
HERE is an IRS link with ways to pay the balance
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"