When Will My Kitten Calm Down And Stop Biting?

My kitten is 12 weeks old and he just started biting me yesterday. I have had him since he was about 4 months old but this has never happened before. He always used to play with my hand (not too rough) but now it seems like he doesn’t want anything to do with me anymore. Please help!!