I read that after the phrase "used to" we use gerund. I read this sentence: "He does not remember how Mike used to worry him."
When I read this sentence, it gives better sense to me (with worry and not worrying) But I am an English student so I want to make sure is this sentence correct? If yes, then why gerund rule (that I mentioned above)has not been used?