If you want to say that something has happened in the past, but you don't know when exactly it happened, you also use the present perfect:
We haven't visited the church before.
- We hebben de kerk nooit eerder bezocht
Have you visited grandma in the hospital yet?
- Ben je al bij oma op bezoek geweest in het ziekenhuis?