Scold the dachshund severely if he relieves himself indoors, but do not strike or hurt him. Never scold him once outside, only immediately after he relieves himself indoors, and not more than five minutes afterward. If you wait any longer, he won't relate the scolding with the accident.
Dachshund - Dog Lover