In which Situations do communists grab power and how to prevent?

Hitler is blamed for the Holocaust, which killed 6 million Jews. But not many know, as per “The Black Book of Communism” nearly 94 million people have been killed by Communists > 15 times the people killed during Holocaust. Hence, communism is more evil than anything else human race has seen.
In this article, we will discuss 3 aspects:
First Question: “in what conditions do communists grab power”
As per Karl Marx, Communism will come first in industrialized and capitalist societies. But as we see, the Communism has never been strong in capitalist countries like US or UK or France. Yes, there was a chance for communists to overrun France in 1871, but after democracy was established, there was never ever any communist revolution in France. In my view, communists have grabbed power in a “combination” of below conditions.
Second, how to prevent communist takeovers?
If we have democracy and honest rulers, even if a society is going through a bad time, communist takeovers wont occur.
Third, Why Kerala and West Bengal became communist and why is Thailand threatened?
Summarizing, Communists have grabbed power only when there is a dictatorial/repressive/corrupt govt, the society is least industrialized and the ruling dictatorship is going through a weak phase. The best antidote to communism is democracy, capitalism (industrialization) and clean governance. If these 3 are present, communists will never come to power.
DISCLAIMER: The author is solely responsible for the views expressed in this article. The author carries the responsibility for citing and/or licensing of images utilized within the text.