After you file

Should I submit the amended 2022 Tax before filing the new 2023 Tax? If yes, do I use the amended tax return as the base for the 2023 Tax return or does it not matter? Thank you.