Shields can only be used when you're playing against human opponents — no computer-controlled players allowed. When that condition is met, simply click the shield icon in the top-left corner of the screen to activate it.