Deductions & credits

Thank you. I am filing amended 2021 and 2022 returns; do I file the 3115 separately, prior to, or with either of those amended returns?