Well, if it's a PUPPY, this will be most effective.
Get pee-pee pads for your puppy. For the first day and night, use the pee pads FULL TIME! After that, bring him out into the yard ON A LEASH OR IN A FENCED IN AREA. Keep an eye on him. When he's done doing his business, bring him inside. Have pee pads set up in two places just in case he has to go. Hope it helped!