I have a 2005 impala with the 3.4 engine, once the engine warms up, say from a 30min drive, I have to let it sit for at least an hour before it will start again. Help plz.

if engine does not crank at all, replace the starter. if it cranks but doesn't start, do these video tests to find the culprit when it doesn't start https://www.youtube.com/watch?v=064Ilsz8Fzg&t=64s