What do you plan to connect it to? If it’s a high impedance (i.e. buffered) input, you can just use a simple voltage divider, like Bitnik suggested above. If you have a +5 V supply, you can just use a pot as a voltage divider directly, with e.g. a 1k on the way out to limit the current in case you plug it in in the wrong place:
If you only have +12 V, add a resistor before the pot to shave off 7 volts:
EDIT: you may still want to include the 1k output resistor, to protect against shorting something else to ground via this output, but that’s probably less likely than accidentally shorting the output from this module to ground.
Note that 14k isn’t a standard resistor value, but you can use e.g. a 10k and a 3.9k in series, or if a slight overshoot in the maximum position is ok a 12k.
If the input impedance is too low in relation to the potentiometer value, it will interfere with the voltage divider and you need an output buffer to get a stable voltage.