You use "whom" for the object of a verb or preposition, and "who" for the subject of the verb, e.g.
1. Who's coming to the party?
You'll often hear "who" for "whom", when it's used as the object of a verb (as in #2); less often, when it's the object of a preposition (as in #3), unless the...