You will file in the tax year you received the social security. If you didn't receive a SSA-1099 for 2024, you will wait until 2025 to include it with your tax return. If I understand your question, you did not receive it until after your filed in January, 2025.