Filed an amended return for 2022. IRS finalized it. Filed an extension for 2023. How do I proceed with the extended 2023 filing?

The amended return impacted the 2023 filing. Now the 2022 return is settled by IRS, I need to finalize the extension filing for 2023. Please help in how to proceed.