Get your taxes done using TurboTax

We made the error of her filing and paying even taxes on it in 2023 (for 2022). How do we reclaim her payment and also gain the withholding back. TurboTax should have at least warned us not to file the taxes based on her W2 of about 2500$ income. Do we need to use TurboTax 2023 software to do this or 2022?