likely the heating element or the heat sensor is bad.
Reliable Part has the part. A module with both heating element and the heat sensor costs around $140; heating element by itself cost around $100. I would recommend you just replace both, or just buy a new dryer