When your dog bites hard, yelp loudly and immediately remove your hand or get up and move away for a short time-out. Gradually tighten the rules as your dog learns to be even gentler with his mouth. Another option is to keep a leash attached to your dog and use it to guide him to a quiet area for a time-out.