Hsa contributions in error due to Medicare

I have years of excessive hsa due to contributing while on Medicare in error.

I have no money to withdraw, do I pay all that’s due this year or do I have to amend every year?