Retirement tax questions

Huh?  Do you have 2 1099G?  What for?  A state tax refund or unemployment?  A 2021 1099G goes on your 2021 return.  A 2020 1099G goes on your 2020 return.  Go by the year in the top corner, not the year in box 3.