Need help!! I need to remove cat smell

Sorry this might be off topic.My cat is getting old and peeing everywhere. grrrr!I need to remove cat pee odor from a carpet. Does anyone no a good product or household remedy to remove cat pee from carpet?thanks in advance.steve