Starter problem

Dont know what your running for motor but if you have headers running close to starter you may have a heat sink problem works great cold but headers heat up starter and wont start hot just a thought