To protect your duvet and duvet cover from stains:
Use a duvet cover.
Spot clean spills promptly.
Wash the duvet cover regularly.
Avoid eating in bed.
Store in a breathable bag when not in use.