Describe comparative negligence and contributory negligence. How do they differ?

Describe comparative negligence and contributory negligence. How do they differ?