Many spayed females start to lose urinary control as they age.
Hormone supplements can correct this. They use Diethylstilbesterone (DES) weekly or even sometimes monthly and it works wonders. My female was on it for the last several years of her life. No side effects since very low dose.
Bowel is often associated with nerve damage in the spine chord from disc problems. If she has trouble walking that may be the cause. Anti-inflammatories like Rimadyl can help by reducing inflammation and pressure on the spine..
Rimadyl is another NSAID like Metacam. It can do wonders, but again there are potential side effects in a small percentage of dogs that can be severe to fatal. Do a web search and you’ll find all sorts of horror stories. I strongly suspect that these poor people are looking for someone to blame for their own inattention.
It’s a godsend for arthritic, older dogs, the vast majority of which have no trouble with it. If you decide to take this route, go in with your eyes open, take a day off to start her on the regimen, be very observant, and if there is any confusion or especially blood in the urine or stool, stop treatment and get her to a vet immediately.
My Lab was down and couldn’t get up on his own. Within fifteen minutes of his first dose of Metacam, he was up and walking around unaided. It really helped him. Scared me to death, giving him that first dose, though. He never had any adverse reaction.