I assume you are talking about the engine turning off, right? If so, it is likely a gas flow issue. Either a dirty carburator or a broken/plugged fuel line.
open