Задание

Decide whether the verb should be used in the infinitive or gerund form.

I rang the doorbell but there was no answer. Then I tried ... on the door, but there was still no answer.