Dryer wont stay on

When the start button is pushed, the dryer starts, but when the button is released, the dryer stops. I checked the vent, and it is not clogged. It stopped working, then it started a few times, and now its not working again. Thanks in advance for advice and help. Dryer is approx 2 yrs old, and used lightly.