Retirement tax questions

I finally got a response from the IRS I was able to avoid double taxation and wasn`t taxed for my Pension and Social Security on my  2019  US Tax Return. Would I be able to go back and amend previous years' taxes where I paid taxes on my US and Canadian taxes?