We use the gerund after verbs like...to love, to like en to hate
I love dancing
I hate working
I like playing tennis
We use the (to) infinitive after verbs like...want, promise, decide, plan, hope, expect, refuse,ask,learn
I want to eat
I hope to learn
I expect to be late
I refuse to cry