Potty trained dogs may regress if they have a medical condition (such as a urinary infection) that makes it hard for them to hold it, if they are senior and have issues controlling their bladder or bowels, or because of behavioral problems such as marking. Consult your vet to determine if a medical issue is causing your pup to have accidents.