If you each filed SINGLE incorrectly because you were married as of 12/31/22 and the single filing status was taken in error beause it was not allowed then you will either :
1) amend ONE of your single returns to switch to married filing JOINTLY
OR
2) amend BOTH single returns to switch to married filing SEPARATELY on both returns