The first thing to do when a previously house trained dog begins urinating or defecating inside is to rule out any medical problems. Urinary tract infections, cystitis (bladder inflammation), bladder stones, kidney disease, or arthritis or age-related incontinence could all be causes of house soiling in dogs.