How is naturally acquired active immunity different from artificially acquired

How is naturally acquired active immunity different from artificially acquired active immunity?