You'll bring him inside, he'll go off to a corner to eliminate, you'll catch him, punish him, and the cycle will repeat. Dogs are naturally clean animals. They are also habitual. Once you set up proper housebreaking protocol and they come to understand what is expected of them, they will gladly oblige. During the housebreaking stage, plan on spending a lot of time with your dog.
Constant supervision is necessary unless the dog is crated.
Puppies need to be taken out constantly, as often as every 90 minutes in very young dogs. It's a lot to do, but the rewards will be very beneficial, and you will be glad you took the extra time to housebreak your dog correctly. You'll end up with a dog that is very reliable and a house that is always clean. You must keep an eye on your dog at all times to prevent him from having an accident in the house. Every time an accident occurs, the behavior is further cemented and the likelihood that it is repeated will increase.