Do i need a resistor in this led circuit?
Red,yellow leds usually need only 1.8-2V to glow depending on the led. so you need to use a resistor in series based on your brightness requirements. this forward voltage needed depends on the led.

for red, I suggest around 20mA current which will give you a resistance of 50ohms.