Watch your dog when he is indoors for signs that he is thinking about urinating. When he begins to urinate, interrupt him with a loud noise and take him outside. If he urinates outside, praise him and give him a treat. When you're unable to watch him, confine your dog (a crate or small room where he has never marked).