Buying a car from out of state?

how do you do that.