Juice or Berries
Scrape up any solids, then apply a solution of warm water and dish soap. Remove soap residue with a damp towel; blot. If the stain persists, blot on an ammonia solution with a warm, damp towel.
For more help, see how to remove berry stains from carpet.