Dryer keep shuting off

my dryer shuts off sometime and won’t start but it eventually starts up again after 5 minute wait..sometime after 5 minutes of drying the cloth sometime after 30+ minutes it shuts off again..please help

Sounds like you may have a bad motor.