"I" is the subject of a sentence, while "me" is the object, meaning that you should use "I" if you are the one acting, while "me" is the word to use when an action is done to you. Ex: I ate the fish. Ex: The fish ate me.