Whenever he bites you, say "au" in loud voice, louder than your normal speaking voice. That's how we managed to end Casper and Kitty's biting! Good luck! Attacking you while in bed, well, that's tough though, Casper and Kitty do it too when we let them be on bd, they think it's so much fun! I guess the same rule might go there again, saying "au" when they attack you.