The first thing you need to factor in is your battery voltage and the voltage required by your circuit. Subtract the two values to determine the voltage drop that your PCB resistor will need to achieve in order for your circuit to function correctly. Then, you need to consider the desired current for your circuit. To find the resistor value you need, simply divide this voltage drop by the desired current.