How does licensing work by state?

If I get licensed in one state, can I transfer that license to any other state? Are there any conditions that would prevent someone licensed in a particular state to be unable to transfer that license to another state? Is there any strategic advantage as to which state to obtain your original licensure from? Thanks in advance.