It is really a matter of learning which verbs take 'to-infinitive' clauses and which take an '-ing' clause, Claudia. After some verbs, e.g. 'tell', 'advise', 'ask', 'to-infinitive' follows the ...