a notice period
a consultation with your employer
the option to move into a different job
time off to find a new job
You must be selected for redundancy in a fair way, eg because of your level of experience or capability to do the job.
You can’t be selected because of age, gender, or if you’re disabled or pregnant etc. If you are, this could be classed as an unfair dismissal.