After you file

But you can only amend from Joint to Separate before the due date of the return.  So you don't have 3 years.