Ideally, you should look at filing an extension for 2022, and completing your 2021 first. That way, if you have any carryover credits etc, you can apply them in 2022. You can also file your 2022, and then amend any changes that may arise from adjustments to 2021.