Dry wont stay on

my dry will turn on for about 5 second and then stop? is there a fix for it?
Thank You

The problem can be a bad door switch, timer, or motor. Does this happen even without clothes in it? In every cycle, including “No Heat”?