How old is your dog? I don't think he even understood that he was going out to pee, to poop. He takes staying outside as a pleasure and not an obligation to venture out. And he sets out at home, in the peace of home. You have to explain to him what you want from him. When he pees, say quietly, quietly: Pee, hooodnyýý. Praise, caress. Take him to a place that other dogs have pissed on, show him the pissed place and say: Pee! Don't shout, don't lick with a leash. Then praise. He'll get what you want. No punishments, no yelling !!! Calm down, praise !!! : o But urine lasts until about the sixth month of life. Until then, he does not consciously control the sphincter.