Roth IRA Excess Contribution

I made an excess Roth IRA contribution in 2023 and did not realize until 2024.  I withdrew the 2023 contribution in February of 2024.  I contributed $ 7500 and when I withdrew it in 2024 the taxable earnings were $ 2510. My total withdrawal was $7500 + $2510 = $ 10,010.   I see there have been different ways to handle this.  One way was wait until I get my 1099-R in 2025 for 2024.  The other way would be to declare it in my 2023 tax return.  Some say enter a manual 1099-R with my 2023 return.  If so what do I do in 2025 when I get a 2024 1099-R to file with my 2023 return.  Also do I enter the Roth IRA contribution in TurboTax and then say I withdrew it or just ignore it like I never made the contribution.  If I ignore the contribution, IRS is still getting a form 5498 saying I contributed to my 2023 Roth IRA 

Thank you for your help