How do you tell which form of the past participle should be used in passe compose?

"Etre" is used for any motion verb (use the "Dr./Mrs. P. Vandertramp" trick to remember motion verbs) and any reflexive verbs.

All other verbs use "avoir" as the past participle.