emission control causing rough idle?

Went out, started it, let it warm a min. , pulled up on the stem, engine died.... what now?