Well, when dogs get older they tend to have wetting accidents on the floor, she sounds like she's having bladder control problems about the only thing you can do is get advice from a veterinarian, they may have something they can recommend. That's the thing in older dogs, you just don't know.
My dog has to be outside or inside in her cage all the time because she pee's on the floor all the time. Can I do anything to help her? I've had her for 9 years and she was about 12 years old then.
She was 12 years old when you got her 9 years ago? Wow that would make her 21. That's to be expected for a dog of that age.....I agree with Dances With Wolves. Seek Veterinarian advice and soon!