Masks will also need to be worn in most indoor spaces as Italy tries to stem an increase in infections.