Locate the verb in the sentence. An action verb signifies an action, like “jump,” “walk” or “take.” A stative verbs denotes a state of being, such as “are” or “have.”
Decide if you're referring to yourself as the person who performs an action or receives one. For example, if the verb is “give,” ask yourself if you are doing the giving or if someone else is giving you something.
Place “I” before the verb if you want to express that you are completing the action. For example, in the sentence “I told her,” “I” belongs before the verb because it represents the person who performs the action.
Place “me” after the verb if you want to express that someone or something else is completing the action. For example, in the sentence “She told me,” “me” belongs after the verb because it receives the action.
Use “me” when referring to an indirect object of a verb. In the sentence, “The officer gave me a ticket,” “ticket” is the direct object of the verb “gave” because it is receiving the action of giving. “Me” is not being given; rather, it's receiving the direct object, so “me” is an indirect object. In the sentence “She is going with me,” the verb "going" takes no direct object -- that is, “She is going” is a complete idea by itself. “Me” is neither the subject nor the direct object, and it's not receiving the direct object, so it's not the indirect object either. Instead, "me" is the object of the preposition “with.”