Which is best, having a carpet shampoo cleaner, which type, or having someone come in and clean your carpets? We still have accidents

and are still dealing with the separation anxiety issues, the the separation accident ones are delt with in the kitchen, which is where I leave him when I have to. I have one of the little Shark steamer sticks and use it often in my kitchen BTW it works wonders and is very easy, no chemicals just vinegar and water, but it doesn't do for my carpet. Suggestions for the carpet please, it's not bad but I don't want it to become bad either. Thanks.