Deductions & credits

This question is about my 2023 Tax return ( which has been already filed last february and had been accepted)

 (a)   YES I am a US Citizen

 (b)   I am a US Citizen and since 2014, I am filing for my spouse who is in Pakistan 

  (c)  My spouse is from Pakistan ( we got married in 2022 december and she is still waiting on her visa interview ) 

(d)  I have been here since 2009 ( legally), she is not a US Citizen, never have been here. She is a Pakistani and was born in Pakistan.

  (e)  No children

 

I filed my 2023 tax return last year as Head of Household, I have myself and my mother as dependant and included my wife with SSN =(9,9,9,8,9,9,9,9,9 ) and filed it electronically. 
It was accepted and I received a refund.

 

But I found out it was supposed to be paper filed because she does not have a ITIN/SSN number yet. 
So how do I go back and fix last years return before completing this year's return.

 

THanks

 

Look forward to hearing from you .