Replacing Objects of "de" with "en"
In French, many verbs and expressions are followed by the preposition de, such as parler de (to talk about) or avoir besoin de (to need).
To replace an inanimate object (a thing or an idea) introduced by de, use the pronoun en. Depending on the verb, en can translate to "of it," "about it," or "from it" in English. Like most pronouns in French, en is placed immediately before the conjugated verb.
This rule also applies to adjective phrases followed by de, like être fier de (to be proud of) or être sûr de (to be sure of).
"En" with Reflexive Verbs
Some reflexive verbs also take de, such as se souvenir de (to remember) and s'occuper de (to take care of).
When using en with a reflexive verb, place it right after the reflexive pronoun (me, te, se, nous, vous, se) and right before the verb. For example, je me becomes je m'en.
"En" with Infinitives
If a sentence has a conjugated verb followed by an infinitive, the pronoun belongs to the infinitive verb. In this case, en skips the conjugated verb and is placed directly before the infinitive.