How to stop a particle system from spawning and remove when active particles are dead?

Sorry, but how to do that exactly?