Of and off are often used incorrectly by some people as they probably think they have the same meaning or grammatically correct to use especially in (written) sentences. Of, with the single F, is a preposition to show possession or ownership.
Examples are the car of my dad, the name of the company, and bags of the students. Off, with the 2 F’s, on the other hand, means away from a thing, place, or person such as these examples: switch off, hands-off, and ran off. Off can be an adjective, adverb, preposition, and a verb. Here is a sample sentence where these two are used at the same time: I switched off the engine of my brother’s car when he hastily went inside the house.