Then, you will probably need to make sure the collider can cause damage by checking it's tag. The ground can't do damage for instance (I suppose).
Finally, you need a script taking care of the damage. It will probably have a variable health or as such.
If you wonder why I don't give you the code right away, see syclamoth's comment.
answered May 11 '12 at 03:46 PM