Then, after reading further, it is written that verbs such as remember,.., hesitate,.., etc. are followed by infinitive. Searching on internet, i get contradicting sentence w.r.t. grammar as i mentioned above examples. So, please clarify whether to use gerund or infinitive with 'hesitate'.
A gerund is a verb that functions as a noun. It is in the verb form of -ing. When you say “ I am swimming”, In this sentence, we want to say that it is an action happening now. Swimming functions as a verb. “Swimming is good for you” In this sentence swimming is a noun (a thing that people do)
A common thing between infinitives and gerunds is that they are both a form of verbs. Infinitives are those verbs before which “to” is added. For example: “to do,” “to say,” “to leave,” etc. Both gerunds and infinitives can be used as an object in a sentence. However, only gerunds can be made the subject of a sentence.
.