To break this habit, you will have to get up very early one morning (when you have plenty of time), and get your puppy out on a walk before it has had its morning wee. You should not bring it home until it has been forced to go out of desperation. If however, you are unsuccessful, and your puppy has not toileted, then take it immediately into the garden on your return, or you risk it relieving itself indoors. Need more help? Follow these additional puppy training tips (e.g. socialisation techniques to prevent behavioural problems). Is It OK To Send Your Dog Away For Training ?
As part of your puppy’s training, then, you should do everything you can to ensure that your puppy can’t get into trouble in the first place. That way you can avoid giving your puppy lots of ‘negative’ attention which might inadvertently encourage his bad behaviour. For example, if you use a crate, or confine your puppy to one room of the house, he is far less likely to get into trouble chewing something he shouldn’t, or peeing somewhere he shouldn’t. more
Carry a handful of treats (or one of these convenient treat pouches).  Walk around your yard, giving a treat to your dog while you’re walking every few steps. Give the treat down at your side, by your thigh. The idea is to convey ‘being right here next to mama when she’s walking means I get treats!’ Otherwise, completely ignore your dog. If he moves off and reaches the end of the leash, just stop walking until you get enough slack in the line to keep moving. What Is A Dog Training Lead ?
I don't teach or recommend so-called "purely positive" methods that allow misbehaving pups to continue misbehaving, instead of teaching them which behaviors are and are not allowed. "Purely positive" is fine for teaching tricks and high-level competition exercises, but NOT for teaching the solid good behaviors that all family dogs need to know, and NOT for stopping behavior problems such as barking, jumping, chewing, nipping, chasing, etc. How Long Does It Take To Clicker Train A Dog ?