It's not recommended to hit your cat as a response to biting. Cats may bite due to various reasons, such as fear, playfulness, or discomfort. Instead, try redirecting their behavior with toys or providing positive reinforcement when they exhibit good behavior. If the biting persists, consider consulting with a vet or a professional behaviorist for guidance.