lights blinking and no heat

ok this dryer was running good then it just stopped and lights where blinking, reset and off it goes running good, for about 15 minutes the lights blinking and shut down.

I tried to clean lint out , it was packed in there. air flows good but now no heat ???
what our your thoughts