Retirement tax questions

When you made the contribution did you tell the IRA plan it was for 2021?  Did you enter it into your 2021 return?