We do not know what two states you are talking about. Did you live in one state and work in another state? Or did you move from one state to another during 2020? If you work in one state and live in another, you need to prepare the non-resident state return first so that your resident state gives you credit for any tax withheld or paid to the non-resident state.
Please explain your circumstances so we can help.