The word "their" is a possessive pronoun and "they're" is a contraction for they are. Use the word there when these first two definitions don't apply.