For more information: https://hpets.org/index.php
It appears as though she forgets to go outside and even when she goes outside she forgets where she needs to go and ends up peeing on the brick or in the garden instead of the grass.
Please tell me I am not alone
I would put her in diapers with a tail hole for the stools to drop out. Stools on the carpet are not a big problem if they are dry and well formed. As long as she is not circling and pacing through them, you can pick up after her and hopefully not need carpet spray. If you are not happy with her current stool quality, I've had the best luck with Science Diet w/d dry kibble for good stools for my incontinent dogs. Kleenex pickup and no spots on the rug. It is very important for a female dog that the stools should not collect in the diaper, they need to drop out or you risk a urinary infection.
But if she is piddling on the carpet, I would recommend diapers, too. They make doggy diapers or you can buy the human disposable diapers and cut a hole for the tail. Even if she is a big dog, they make baby diapers for up to 125 lbs (!) and then there are adult diapers. It may be cheaper to just get her some female hot pants and put a Poise pad in. Depending on the size of the dog, you may be able to cut the pads into halves or even thirds. This link shows some disposable diapers, as well as denim hot pants similar to what my dog wears. The denim diapers have really good velcro on the waist and wear like, well, denim. I've seen some in PetsMart that are a knit fabric. I'm not sure those would work as well, I would think you want something firmer to put the pad into. With the denim you can get a nice snug fit. If you get the denim diapers or similar, you want at least 2, one to wash and one to wear.
My dog who wears a diaper sleeps at night bare bottom so her skin can breathe. For that you will want a way to contain your dog, either in a crate or maybe a bathroom or the laundry room or someplace where she has a blanket to sleep on but cannot hurt the floors. You end up doing a load of doggy laundry every couple of days but it's no big deal.
I would also strongly recommend baby gates so you can contain her in a part of the house that is easy to clean, or at least so you only have a couple of rooms to clean. This saves you a lot of time and you feel like you have things under control better. I was frustrated buying a baby gate. In fact, I tried several that stay in the doorway so poorly I could not understand how children were not injured by them. So keep your sales slip when you take it home and try it. If the first one you try is not satisfactory you may have to try another brand. But once you have it in place, it's a big help.
We keep her on a schedule of putting her out every 3-4 hrs. Lately we have been taking her out and she won't poop, then just when we bring her in, she will poop. She doesn't know she is pooping, I think she has lost the sensation, but it is sooo frustrating. I love her though. She is the best dog I've ever had. I know it's worth it as long as she is healthy and happy, but it is hard. Sometimes I hate to admit that, but it is.
Since we know it's not her fault, we have tried to find ways to make it easier for us. We now lay a piddle pad under her when we place her down.
You may find this information on caring for a dog with bowel incontinence helpful. It talks about ways to encourage the dog to eliminate at a time and place of your choosing. If you can get her to empty by stimulating her elimination reflex, you will find fewer surprises in her bed or around the house.
It also talks about stool quality. If needed, you can adjust her diet to produce a stool that is firm, low odor, well formed, and does not stain the carpet. I've had really good luck with Science Diet w/d dry kibble for several dogs (the canned does not work). Other people have found other types of food that work well with their dog's own system and produce "outstanding poop texture". It's so nice to be able to pick up accidents with a kleenex and go on about your day without having to use carpet foam or spot remover.