Containing the spread of COVID-19