check collision

I need to check collision to know when a character takes a treasure in unity 2d. Can anyone help me

Read up on OnCollisionEnter2D.