state tax returns

I finished my federal tax return.

I live and mostly work in one state and have some small earned income in a 2nd state.  Which state tax return do I prepare first?