First, don’t panic (too much). Blot — don't rub — the spill immediately with paper towels or a cloth. Use cold water and a mild detergent to treat the area. If it's a more challenging stain, like red wine or blood, you might need to consult a professional or use a specific cleaner.