Question: when omit the relative pronoun?
Answer: The relative pronoun can only be omitted when it is the object of the clause. When the relative pronoun is the subject of the clause, it cannot be omitted. You can usually tell when a relative pronoun is the object of the clause because it is followed by another subject + verb.