After you file

Yes ... you need to amend the fed & the state ... the fed is a 1040X and check with your state for the state amendment form.