To stop a potential problem before it becomes a full on problem. Coined from shooting a snake so as to avoid a bite.
Jason was annoying me, so I shot the snake in the face and smacked him upside the head.