Preventing LED Issue (Thermal Runaway?)

Appreciate the reply!

So does it matter the resistor size? Would something like a 10 work since voltage is close or better to use something larger?

Thanks