does depend on the age and health of your dog, but it depends mostly on you.
be consistent in all this, all day, every day!
you may be amazed at how quickly your dog responds well enough to get beyond the basics. in my experience, most take only a few days (for dogs older than a year). soon this will become so routine with your pooch, she will just do her business where she ought, so she can get on to enjoying her day with her favorite two-legger!
even if your dog has several issues, it is best to focus on one issue at a time. as you see him growing out of 