What you mean two pins you must have three.
If is only two it does not make any difference unless is DC motor
One pin to other two for example 1-2=5ohm, 1-3 ohm, 3-2ohm,
one would be common and 1&3 would be start
one and two would be run
always running windings is low resistance
start always higher resistance
You can find which one is which by use above example