I used my 2020 1099g for my 2021 return,by mistake. Will I still get my return since it's been accepted? Or should I file to amend

I had not received my 1099g for 2021(nothing was different either year)