Please, do not hit your puppy.
Hitting a puppy teaches it nothing except to be afraid.
Hitting puppies for eliminating in the house will not teach them to be housetrained.
It will teach them to fear and distrust you, and to sneak away quietly when they need to eliminate.
please, no hitting, hitting has no place in training a dog.