How do I clean the material if I spill something?

It all depends on the fabric with which your furniture is upholstered. The best way to avoid a stain is to drain the spilled liquid as soon as possible. In easy-to-clean fabrics with properly “protected fabric fibers”, it is almost 100% removable, provided you react quickly.