Amended Tax return for 2024

I filed our 2024 tax return on April 13, 2025 paying $5423 in tax due.  I subsequently located  information on the original purchase date of a stock I sold in 2024.  When I have run the Amended Tax Return through Turbo Tax it shows I owe $5006 in tax, which I believe correctly reflects the added information I have provided.  

That is a reduction of $417 owing for my 2024 taxes.  If I submit the Amended Return showing I owe money, ($5006) how does the difference get handled?  Do I get a refund of $417?  Can I apply it to my taxes for 2025?  Will the IRS still think I have not paid my taxes for 2024?

Thanks for your clarification.