Yes, if you are trying to see a psychiatrist on the NHS in the UK you will first need a referral from a GP.
In order for you to navigate the NHS and all it has to offer, registering with a GP as soon as you have a fixed address will help to streamline referrals within the UK healthcare system.