You will have to print and mail it now. Nothing you can do on your return to fix his return. Just file your own return right and the IRS will sort it out and send him a letter. But if you weren’t divorced by Dec 31, 2024 you and he can only file as Married Joint or Married filing Separate, not Single. Same for 2025 if you aren’t divorced in the next 21 days.