Shampooing the carpet can sometimes make a urine smell worse because the cleaning process may spread the urine deeper into the carpet fibers and padding if not handled correctly. When water mixes with leftover urine residue, it can rehydrate the uric acid crystals, which release that pungent ammonia-like odor. To fix this, you’ll need an enzymatic cleaner specifically designed to break down urine compounds at a molecular level. Focus on thoroughly treating the affected areas and ensuring they dry completely. A wet vacuum or carpet extractor can also help remove lingering moisture and odor. Avoid using steam cleaners—they can set the smell.