Who performa prostate exam? GP or urologist?

Hey there. I am approaching 40 and I am undergoing a complete health check.

I am some family members who have had prostate cancer and I would like to have that checked.

Do I ask my GP for an exam or I book an appointment with the urologist?

Thanks.