"I" is a first person singular subject pronoun.
"Me" is a first person singular object pronoun.
"Me" is used when the speaker is the object of the sentence.