Many Tumble dryers have a thermostatic reset switch which if engaged just needs its switch to be pushed and that will fix the problem. If your machine does not have this, then either the thermostat or heating element are the likely suspects and may need replacement.