Retirement tax questions

No I did not get an answer that resolved my problem.

 

I opened a Roth IRA with $7500 of UNERNED INCOME in which income taxes have already been paid.  I withdrew that money and closed the IRA.  I now have a 1099-R that lists that money as income and will be taxed accordingly.  My question is how do I handle that 1099-R entry on my 2024 tax return to avoid paying taxes a second time.

 

Thank you for your time!!