The Zero-Covid Countries

How did some countries manage to achieve a very low covid-19 prevalence?