After you file

OK ...  you have 2 issues.  On the 2020 return all you have to deal with is the unallowed ROTH contributions ... you will indicate that it was recharacterized as a Traditional IRA and that you want the IRA contribution to be considered non deductible which will populate a form 8606.

 

Then the earnings ... since you recharacterized it in 2022 a 1099-R will be issued next January and you will report that on the 2022 return to be taxed on the earnings if you removed them from the IRA  or  converted them to the ROTH if you finish the conversion.