How long was the pee there before you treated it? If it was for a while then the chances are the urine has soaked through to the underlay, in which case you will need to lift the carpet and patch in a new square of underlay, then relay the carpet. Try cleaning the carpet with all above suggestion first obviously but if they don't work then this is what you will have to do.