For smaller areas, rugs, and upholstery, try a pet hair rake.
Just sprinkle it on before you vacuum.
Before you mask smells, of course, you do have to get that pee out of the carpet.
Take matters into your own hands with tech designed to groom and dry your dog.