After you file

You may have to do an amended resident return if you already filed it, after you do the nonresident one.