Dryer won't heat up

My dryer wont stop running and it won’t heat up. I thought it was the igintor so I replaced it, it worked long enough to dry a load of clothes then started the same thing again. Does anyone know what can cause this, what do I need to replace. Thanks