You don’t. Massive mistake to make a puppy stop biting. Nature programs puppy’s to bite so they learn the most important skill in all of dogdom – bit inhabition. You need to provide feedback to do around what level of force is inappropriate. This way, the dog learns to control its jaws. This is why good puppy classes let puppy’s wrestle and play fight. It’s the most important training they will ever do.
Teach a puppy to stop biting and you will have a dog that has no control over the force of its jaws and when it bites one day, as all dogs have the potential to, it will be a severe bite. I the dog learns bite inhabition, future bites will likely do no damage at all.
It’s not dominance as many well meanining but inorant people will tell you it is. It’s behaviour honed by evolution.
Check out dogstardaily.com or anything by dr Ian Dunbar.