It doesn't have to. Suppress transmission with lockdowns and quarantines until the number of cases is low. Then open up partially, with social distancing measures, mask requirements, etc. Do contact tracing with extensive testing and contact tracing to keep the virus at a low level. Use random testing to keep an eye on the level of the virus in each community. Impose stricter measures locally if you detect R > 1.