Dangers of swallowing a tapeworm?

What exactly are the dangers of swallowing a tapeworm?

Dead one or live one?

We don’t usually swallow tapeworms, but their larvae.