2006 Chrysler PT Cruiser won’t start after short drive

what makes a 2006 P t Crusier not start after you drive it for a short time.

Not start= the engine cranks over but doesn’t start.

Not start=the ignition switch is turned to the start position, but the engine does nothing.

Which one is it?