Biting baby

He comes to me wanting cuddles and throws himself into me and bites my stomach. He does this often and I panick when he does that because I know it will lead to him biting me. I tried being stern and telling him no but he still tries to bite and it's usually when he is playing around. What do I do?