VAT Registration questions

When and how to register (or deregister) for VAT.