.UK domain names can be registered for between 1 and 10 years at a time.
Speak to your registrar for advice on what would best suit your needs.
If you want to keep using your domain name, you will need to renew it before it expires. This will mean it remains yours for as long as you want, and no one else will be able to register it.