Death of a spouse and filing status

Hello, my husband passed away on Dec 27, 2021.  I filed as married filing jointly in Jan 2022 but my tax refund was greatly delayed because I was told I used a deceased person's SS # which I did.  Can I file again this year as married filing jointly. I was told a widow could do this for 2 years after a spouse passes.  If not, how should I file for 2022?