Get your taxes done using TurboTax

I exceed my income limit for my Roth IRA contributing $6,000 when in 2021 I was not permitted to contribute anything for 2021. Would the solution be to removed the $6,000 from the account since I took a loss from my additional investment? I feel like there should be more to do.