When we make an effort to complete a task that we may or may not succeed in, we say that we are trying to do it.
When we stop completing one task to begin another, we say we are stopping to do something.
When we quit doing something, we use the phrase (on that occasion of forever).
Use the gerund after remember if you are recalling a former event (memory), and the infinitive if there is something you need to keep in mind.
When there is something you need to remember to do, use forget to do. The most frequent usage is this.
When you can't recall a recent occurrence or circumstance, use forget doing (it has to do with recollections).
After some statements, such as "have difficulties," "have difficulty (in)," "have a hard/difficult time," etc., the gerund is used.
After would rather or had better, use the infinitive without the preposition to.
When we do anything as an experiment to see if it aids in solving a problem that we wish to tackle, we say try doing something (gerund).
In this line, someone is trying to get in touch with someone and they can try calling to see if it works.
When the verb is the sentence's subject, we employ the gerund.
When the verb comes after a preposition or a phrasal verb, the gerund is used.
After mind or would mind, use -ing.
When the meaning is passive, we use the expression need doing. Something must be done. = "Action must be taken."
You need to cut your hair.
You should cut your hair.
We can use either the gerund or the to + infinitive after like, love, hate, or prefer (the gerund is more common in British English).
However, we should use the infinitive after would like, would love, would detest, or would prefer.
After some phrases, such as "can't help," add the -ing.
You cannot quit doing anything if you are unable to stop.
-ing is added after recommending.
Make/let someone do something is how we say it (infinitive without to).
Use the gerund after remember if you are recalling a former event (memory), and the infinitive if there is something you need to keep in mind.