A confusing point for both native and foreign English speakers is whether to use used to or use to in a phrase.
Used to is used to describe an action that was common or ongoing previously but no longer occurring.
Ex. This building used to be a hospital but has been converted into a school.
As a general rule, since the action described is in the past, it is correct to use the past-tense “used to”.
Ex. I used to like dogs, but I got bit by one last month and now they scare me.