What is the capacity of the business to generate cash flows?
What is the expected growth in those cash flows?
How uncertain are those cash flows?
You take expected cash flows and you discount them back to their present value.
I prefer to use margin of safety re uncertainty like Buffett does instead of altering the discount rate
If you have read the links I sent recently you should know the answer.