used to do

used to do something

to have done something [customarily] in the past. We used to go swimming in the lake before it became polluted. I used to eat nuts, but then I became allergic to them.
See also: used