If you want a video explanation there’s a great one on youtube:
For a complete explanation have a look at perfect English grammar.
If you want to test yourself with really quick exercises try exercise 1, exercise 2, exercise 3 and exercise 4 (verbs followed by infinitive or gerund) . In this task you won’t have to type anything. You’ll finish them in the blink of an eye.