We use the word I as a subject pronoun.
We use the word me as an object pronoun.
I could not find my teddy bear.
My friend Abigail helped me find it.
I was lonely swinging by myself.
My best friend came to play with me after lunch.
I am going to the movies tonight.
My friends are going to go with me.