Jeep stop running

My jeep stop running for no reason but will start after it cools down, why?

Its going to be hard for anyone to say anything about that. Start with the model jeep, year, miles.

Give some idea of the maintenance history (basics - plugs, wires, filters, etc.)

Describe “stop running” (though I’ll bet you meant stopped running) - you were driving down the road and it just died? Then it wouldn’t restart until it cooled off? Or you get in, it starts cold. You drive somewhere, shut it off and then it won’t restart until it cools? When it “stop running” will it actually crank when you turn the key? Or you turn the key and it won’t even crank?

See - you’ve given no one any information whatsoever.