About the Corona Virus Lock Down category

What should community corona virus resilience look like? Right now essential services are allowed but when does that end? When is the curve flat enough? How should we decide when that ends? What metrics should be used to determine if people should go back to work? When do we start going back to work?