If it soaked deep into the carpet and underlying pad chances are it will bever completely go away... Get some pet strength steam vac detergent with odor remover and dump it straight on the spot... Then let it set for a minute and vacume it up.. And then you may want to add some Febreze poured directly on the spot...
If its near the edge of the carpet you could always pull the carpet up, cut out the pad and piece in a new one and steam clean the back side also....
Good luck