Hi!
I am learning gerund, and hopefully I could help you out with something that I learned.
Rule one: You have to use a gerund after some verbs, such as: admit, appreciate, avoid, consider, delay, deny, endure, enjoy...
Rule two: A lot of clauses are required gerund after them, such as be...