After you file

I am in a similar situation, but I owed $827 when I filed for 2022. Then I got a very late corrected form from my brokerage. After amending the return, I am now due a refund of $906 (a difference of $79 refund). How do I handle it? Pay the $827, then wait 20 weeks for the $906 refund?