The label attached to the new motor tells you, what wire is what, this is very important, because the wires may not be the same colors as the motor you replaced.