When to use o/ni particles in this sentence pattern.
Hi!
I'm currently studying my lesson notes for the topic of 'talking about what you did in the past', and it lists the sentence pattern as;
[Person] wa [thing/place] o/ni [verb-mashita]
(ex. Sara wa eiga o mimashita)
but how do I know when to use either the 'o' or 'ni' particles? or are they interchangeable?
Sorry if I'm missing something really obvious!
Thanks.