If it's heating up then the problem is probably that the air is not circulation properly. Check filter is clean. If it a condenser dryer, remove the condenser, which should be on the front probably near the bottom - will look like a drawer and inside it will be made up of lots of metal plates, and flush through with water until clean.
KH, April 2006