There are many types of verbs; some are followed by (inf) , and some others are followed by (gerund) .so let me tell you what the difference between them ..
Infinitive and Gerund: When to Use Which
A. Infinitive with “to”
- To express purpose — “She went to the store to buy some
milk.”
- After certain verbs: agree, appear, help, manage, need,
refuse, expect, hope, decide, promise, afford, ask, offer, learn, choose,
want. “They agreed to meet at the library.”
- After would like / would love / would prefer — “I would
prefer to stay home tonight.”
- After adjectives like happy, sad, glad, willing, eager,
reluctant, lucky, fortunate — “She was happy to receive the gift.”
- With “It + be + adjective/noun + to inf.” — “It was
easy to solve the puzzle.”
- After too and enough — “It isn’t warm enough to swim
today.” “The problem is too difficult to handle.”
- To describe a surprise or unexpected event, especially
with “only” — “I finally got home only to find that I had forgotten my
keys at work.”
- After be + the first/second/next/last, etc. — “Ahmed
was the first to arrive at the party.”
- After ask/learn/explain/decide/find out/want to know +
a question word — “He’s learned how to fix electronics.” (After “and” or
“or,” the second “to” can be dropped — “I would like to go and see what is
happening there.”)
B. Bare infinitive (no “to”)
- After modal verbs — “Lilly can speak German and
Italian.”
- After let/make/see/hear + someone + do — “Dad never
lets me go out alone.”
- After had better and would rather — “We had better
leave now.”
- “Help” can take either form — “She helped me choose the
furniture.” / “She helped me to choose the furniture.”
C. The -ing form (gerund)
- As a noun — “Smoking is very bad for your health.”
- After prepositions — “He is thinking of quitting his
job.”
- After certain verbs: admit, appreciate, continue, deny,
fancy, imagine, mind, miss, quit, save, suggest, practice, prevent, feel
like, detest, adore, avoid, consider, enjoy, finish, hate, like, dislike,
love, prefer, risk, can’t stand. “I don’t mind doing the housework for
mum.”
- After spend/waste/lose + time or money — “He spent a
lot of money redecorating the house.”
- After “to” in set phrases: look forward to (“I look
forward to spending a holiday on the beach”), be used to (“We are used to
working hard before the exams”), get accustomed to (“Soon, you’ll get
accustomed to waking up early”), in addition to (“In addition to putting
on weight, fats weaken your heart”), object to (“She objected to working
on the project alone”), prefer (ing) to (ing) (“I prefer swimming to
playing football”).
- After set expressions: be busy (“He is busy working in
his office”), it’s no use (“It’s no use talking to him. He’s stubborn”),
it’s (no) good (“It’s good waking up early” / “It’s no good talking like
that”), it’s (not) worth (“That’s a valuable watch. It is worth having”),
what’s the use of (“What’s the use of talking to the boss? He never
listens”), can’t help (“Sorry! I can’t help laughing whenever I see you”),
there’s no point in (“There is no point in going there alone”), can’t
stand (“I can’t stand waiting anymore”), have difficulty (in) (“I think
she has difficulty bringing up the two children”), have trouble (“Do you
have any trouble understanding my point of view?”).
- After verbs of perception — hear, listen, notice, see,
watch — to describe witnessing an incomplete action: “I heard Marian
screaming” (no idea what happened next). With these verbs, the infinitive
signals a completed action — “I watched the children cross the street”
(saw them reach the other side) — while -ing signals an action still in
progress — “I watched the children crossing the street” (didn’t see the
end of it).
D. Verbs that take either form, with
a meaning shift
Stop: + infinitive means stopping
one thing in order to do another — “I stopped to drink coffee” (took a break
for coffee). + gerund means giving something up entirely — “I stopped drinking
coffee” (no longer drink it).
Remember: + infinitive means
remembering you need to do something — “I remembered to buy the book”
(remembered I should). + gerund means recalling that you already did it — “I
remember buying that book” (did it, recall it now).
Forget: + infinitive means failing
to do something you needed to — “Oops! I forgot to close the door. I must go
back” (a mistake). + gerund means being unable to recall something — “Did you
forget visiting this place with us?” (can’t recall it).
Try: + infinitive means making an
effort at something difficult — “I tried to open the window” (made an effort).
+ gerund means trying something as an experiment, to see what happens — “I
tried opening the window” (wanted to see what would happen).
Regret: + infinitive means feeling
sorry about something you have to say or do — “I regret to inform you that you
didn’t pass the exam.” + gerund means feeling sorry about something you already
did — “I regret going to that party” (went, now regrets it).