adapt to = get used to = adjust to 適應

 It took me a lot of time to adapt to the new environment.