My dog just learned how to ring the bell on the doorknob when he needs to go out
I put the bell on the door so it would ring when it opened and he got used to that, so now he associates the sound with having to go out. 