This sounds like the snake is doing defensive striking. Like what was already stated, just leave the snake alone for a week with no handling and feeding attempts.