How to deal with a pandemic and containment period: