Retirement tax questions

what is the tax treatment for a cd penalty that was assessed in a prior year (e.g. 2021) and then identified as an error in 2024? are corrected 1099's required or do we issue a 1099 INT for the year the money was refunded?