kenmore dryer won't stay on

this model of dryer is the stackable unit with the dryer on top. It simply won’t stay on. When I turn the knob to start it will start but when I let go of the knob it stops. If I stand there and hold the knob in the start position it will run and heat up. What part do you think needs to be replaced.
Thanks…