Hi,
You will need to review the guidance on residence at RDR1:
Tax when coming to the UK
and apply the residency tests at RDR3:
RDR3 Statutory Residence Test
If you are considered resident in the UK, then you will need to consider if split year treatment applies. The only way to claim split year treatment, is to submit a Self Assessment tax return, SA100, SA109 (residence) and any other appropriate supplementary pages. The paper versions can be found here:
Self Assessment tax return forms
Thank you.