The Hammer and the Dance: Equilibrium and Optimal Policy During a Pandemic Crisis