Removing Pet Urine from Carpet

I made my own solution to spray areas where there have been accidents, but without luck when the humidity goes up. It (the smell) just hits you in the face as soon as you come in the door. I have used my carpet cleaner with pet solution by the gallons and still no results.

Vinegar does not work we have tried that we have tried everything and we are getting no results we have cleaned our carpet many times I have done the vinegar and baking soda I have tried to paste baking soda none of it works I have tried a urine defense that didn't work it's to the point now where we have to get rid of our rug