Distinguishing used to do vs be used to doing.
All three are followed by a noun or -ing form — NOT a bare infinitive.