Used to do/to be used to doing something

Used to refers to something that happened regularly in the past
but no longer happens: used to + infinitive form of verb.

To be used to doing refers to something that you are accustomed to doing: be used +  to + verb + ing. Note: can be used in various tenses.

<border>

During the Middle Ages people used to use tapestries to keep their rooms warm.

I'm used to working with my hands because I'm a sculptor. 

</border>