After you file

@Anonymous_ Thanks but your reply doesn't specifically cover the case I asked about (holding the bonds years after their maturation date).

Here is an article that says that I need to file amended returns for 2019-2022 and possibly 2023:

https://fergusonfinancialinc.com/financial-planning/us-savings-bond-tax-trap/

The article does not say if there is any other good ways to proceed other than going through all that work.