discipline through pain association.
Once your puppy realises its hurting you it'll stop it.
So writhe around on the floor screaming and shouting and making a big deal of it..this will distress the mutt and it'll in time make it stop.
Also the fact that you're acting a prat will take your mind off the pain.
Make you out to be fun loving fun + puppy = lots of ladies.
Failing that ask on a proper Mutt site, i'd not even ask on here for bike advise let alone animal training.