According to How to Clean Things, the first step in cleaning up dog urine from the carpet, provided you catch it early enough, is to soak it up. Use typical household spill absorbers, such as towels, both the paper and cloth, and old rags. Adopt a strategy of dabbing and blotting the affected areas on your carpet instead of rubbing. According to Canine Kids, rubbing will do little to absorb the urine, but instead will spread it around. Continue dabbing and blotting until all detectable moisture is absorbed.
Once you downgrade the dog urine from puddle status to stain status, it's time to sanitize the area. According to How to Clean Things, one of the best home remedies for sanitizing dog urine is white vinegar. For optimal results, combine 1/2 cup of vinegar with 1 1/2 cup of warm water, and pour the solution on top of the stain. Let the solution soak for approximately five minutes and scrub the stain with a towel. In addition to battling bacteria, the acidity of the vinegar neutralizes the highly-alkaline---and pungent---ammonia within the urine.
Sprinkling baking soda onto dog urine stains will help absorb odors as well as any residual moisture. According to Partnership for Animal Welfare, for best results, let the baking soda sit on the carpet for at least two hours before vacuuming it off. If the urine spot is particularly smelly, try mixing the baking soda with water, letting it soak for a few minutes and then blotting it. Alternatively, according to How to Clean Things, once your dry baking soda has settled, work it into the carpet with a solution of 1 cup 3 percent hydrogen peroxide and a little more than 1 teaspoon of a petroleum-free dish detergent. For optimal results, put on a pair of rubber gloves and work the solution, and the baking soda, into the carpet with your fingers. Another option is to use a scrubbing brush.