Non-Resident State Tax after filling out Resident State Tax

You (forum response) recommends filling out non-resident state form first. What if you filled out the resident state tax first by mistake. What should you do to ensure proper calculations of resident and non-resident state?