To-infinitive(不定詞):
1) 在以下的動詞之後 —— agree, appear, ask, etc.
例:I was asked to clean the room.
參考資料:
https://www.ef.com/wwen/english-resources/english-grammar/verbs-followed-infinitives/
2) 在疑問詞之後 —— what, where, how, etc.
例:I know how to do the question.
3) 在形容詞之後 —— kind, good, naughty, etc.
例:It is good to go camping today.
4) 在否定式之後 —— not to ___
例:I was asked not to play online games.
—————————————————————————————————————
Gerund(動名詞):
1) 在以下動詞之後 —— avoid, enjoy, stop, etc.
例: I enjoy travelling.
參考資料:
https://www.ef.com/wwen/english-resources/english-grammar/verbs-followed-gerunds/
2) 在介詞之後 —— to, for, on, etc.
例:I look forward to seeing you.
3) 在否定式之後 —— not ___ing
例:I hate you for not being polite.