Won’t start after warmed up

I had that problem with the replacement cable ends on the positive cable. I actually got stuck at a gas station with no start, but cleaned positive cable end and started right up. I went directly to auto parts store and bought new end and good since than.