Have you updated your details on the Electoral Register?
The register is updated every month and you need to be included on it to vote. You can download the form from the Electoral Commission's website and then send it to your Electoral Registration Office, which is based at your local council.