Baby biting

Mikayla

I have a 10 month old, he just recently started the biting thing. He bites hard it feels like my nipple is being bit completely off. How do you stop it and why is he doing that?