HELP with potentiometer

Once I have measured the pot how would I know if it must go by the input or the output?