Don't bother with carpet cleaner - get to a pet supply store and get "Nature's Miracle" - it is a cleaner that will break down the enzymes causing the smell. Also, make sure you spray enough to get through to the pad underneath the carpet, if there is one.