If i work in one state, but live in another, how do i file my taxes? do i put one as my state and the other as my associated state?

i live in michigan and work in indiana. everyone is telling me different things about how to file. please help 😭