When and how to self-isolate