Read the text, then look at the highlighted -ing and infinitive forms. which form do we use: after modal verbs, after adjectives, to show purpose, after certain verbs (decide, appear), after prepositions, as a noun, after expressions (im busy etc), after certain verbs (fancy, start, avoid, spend,
imagine, suggest etc)? check in the grammar reference.