If you are made redundant you are entitled to a minimum period of notice. For every year you have worked for your employer, you should get one week's notice, up to a maximum of 12 weeks.
If your employer makes, or lets, you leave before this period you should still be paid for the full notice period.
Remember that these are the statutory terms, and your contract of employment may offer you more generous terms instead. So check your staff handbook, or ask your workplace union representative if you have one.
Just One More Click: Doggy drama about staying safe online at work.