Register on the HMRC Online services page. During registration you’ll be given a User ID and you will choose a password; you’ll need these when you log in again.

We’ll then send you an activation code
.
Once you’ve activated the service, you can fill in your return.

Please see this link which gives the appropriate routes https://www.gov.uk/log-in-file-self-assessment-tax-return