To remove banana stains from a carpet follow the steps detailed below
Make a mild detergent solutions and pour it onto the stain. Then blot
Then apply some luke warm water and blot again. As you are doing this you need to soak up as much of the fluid that is being created. Use some towels or tissue to soak it up.