I … to it/there; the exact meaning depends on the verb that follows.
I have to get used to it.
Je m'y perds, dans tes copains.
I can’t keep track of all your friends.
— Retour vers le futur (1985)
Même si je le faisais, comment je m'y prendrais ?
Even if I did, how would I go about it?
— L'Ultime Héritier (2026)
Je m'y rendis dans le but de le rencontrer.
I went there with the intention of meeting him.