There are many ways to remove red wine from the carpet.
One of the easiest ways is to mix one tablespoon of dish soap, one tablespoon of vinegar, and a cup of cold water in a bowl. Then use a clean cloth or sponge to apply the mixture to the stain. Leave it on for 10 minutes and then blot it up with a clean cloth or sponge.
Another way is to use club soda or white vinegar, which will cause the stain to lift right out.