Question: how to train dogs not to go upstairs?
Answer: Choose a signal phrase, such as no stairs, to use as a deterrent so your dog can learn what you expect from him. When he approaches the stairs speak your signal phrase and distract him. After he walks away, reward him with a small treat. He will soon know what the stairs are and that he should not go upstairs.