To accustom oneself to something is to get used to it.
I find it difficult to accustom myself to new time zones when I travel around the world.
Example picture