dryer not running long enough

Dryer heats up good butt only runs about 10 min then cools down and shuts off with the clothes still wet. any ideas?