Used to has two meanings:
1) USED TO- For past habits:
I used to live in Spain. = I lived there in the past, but don't any more.
2) BE|GET USED TO- become familiar with:
When I came to live in the UK, I had to get used to the awful weather.= At first it was strange and different, but it isn't now. BE\GET USED TO can be used for past, present or future time.