Hi,
To register for Self Assessment and receive your Unique Taxpayer Reference (UTR), complete either the CWF1 or SA1 forms, depending on your circumstances.
You can find out more here:
Check how to register for Self Assessment
Once you've received your UTR, create a Government Gateway account and enrol on there to file your Self Assessment returns online.
You can find more advice on how to do that here:
HMRC online services: sign in or set up an account
Thank you.