How to use prepositions in attributive clauses?

How to use prepositions in attributive clauses?

Generally speaking, the preposition is followed by an object. When we change the attributive clause, we need to modify the determiner, which is the "object". Of course, the object is the antecedent. So where does the preposition go? Don't worry, the preposition is placed after the "object" (that is, the antecedent), and then the relative pronoun is added