Use an enzyme-based pet-mess cleaner. All pet stores, and most grocery stores carry them. You soak the carpet down to the pad, let it sit for a while, then blot it up. The enzymes will break down the pet smell, though you may need to perform several applications. If any stain remains, then hit it with the Folex.
Rather than blotting, I like to use a small Bissel machine to suck up any liquid from the carpet. It leaves less detergent behind, which can make stains reappear down the road.