You can use vinegar and water or an enzyme cleaning product on your carpet, but if it was a lot and it's dried now, it may have gone through the carpet to the floor below. If the carpet can handle the wetness, you can try soaking that area. Test it in a hidden spot first so you'll know if it will affect the color of your carpet and if it will dry okay. Wishing you the best
I use Nature’s Miracle. It is an enzyme cleaner. It works so well. I have a dogs and cats so we by in the gallon bottles.
Nature's Miracle first choice to clean. OdoBan will work as well.
Resolve makes a rug cleaner for pet stains and accidents.