With Bastet I would withdraw my hand and shout NO in a very loud growly voice. She soon learnt that biting was not an appropriate part of playing. I found the just a loud NO in your own voice didn't work as well. I think its the growl that does it.