Lots of people get this wrong. I’m still learning the difference myself!
From the Oxford Dictionary Online:
An easy way of making sure you’ve chosen the right pronoun is to see whether the sentence reads properly if you remove the additional noun:
√ I am going for a coffee
|
X Me am going for a coffee
|
√ The dog followed me |
X The dog followed I |
√ Rose spent the day with me
|
X Rose spent the day with I
|