Excess IRA nondeductable contribution distribution procedure

If an excess nondeductable amount was made to a traditional IRA in 2021, how is the distribution handled in 2025?