He's still learning. Good that your husband caught him in the act, really bad that he reacted the way he did. When you catch an accident in progress you simply want to interrupt in an urgent but not intimidating way (like "woops!!" instead of "no no bad dog!") and rush the pup outside to finish. Praise and reward for finishing outside.
Some dogs take longer to "get it" than others, but the following method of potty training WILL work if the plan is consistently practiced:
- Constant supervision so that all accidents can be caught and interrupted.
- The only opportunity to address an accident is while it is in progress, not after the fact. Simply interrupt and bring dog outside as quickly as possible to finish.
- Bring pup out frequently to potty. Always accompany pup and reward liberally for success. Reward outside, immediately after the potty, not once you've come back in the house.
- Learn your pup's unique "need to potty" signals and respond accordingly. Potty signals can include sniffing, circling, pacing, staring, vocalizations, and taking a break in play. Always bring pup outside right away after he wakes up in the morning or from a nap.
- Confine to a safe zone when direct supervision can not be provided.
- Clean all accidents thoroughly with a specially formulated enzymatic cleaner such as Nature's Miracle, NOT a regular household cleaner.
- Stick to a consistent feeding schedule and learn how soon after eating your pup tends to "go".
- Be mindful of water intake and let out accordingly.
Accidents are normal and to be expected. The responsible party in the potty training arrangement is the owner, so if anyone's nose is to be rubbed in a pee puddle it shouldn't be the pup's nose... if you think shoving your
own head into dog pee will help motivate you to do a better job with potty training, by all means feel free.

Doing this to a dog only teaches him that his owners are unstable.
Here is another potty training guide with a focus on crating. A daily training schedule is provided.
The Ten Rules to House-Train Your Dog in Ten Days. | DogNostics eLearning & Business Coaching