You've not stated what type of tenancy you have.
Quote:
"If you have a fixed-term tenancy (one that runs for a certain period) and there is nothing in the tenancy agreement about ending the tenancy early, you may have to pay your landlord compensation to get out of the contract. The compensation amount could be for the remaining amount of rent left on the tenancy, but may be less if your landlord can find a new tenant before your tenancy was due to run out".
Source:
http://www.direct.gov...g/Tenancies/DG_189123
Without knowing the TYPE of tenancy ('assured'?, 'assured shorthold'?, 'fixed term', 'periodic'?) and the specific TERMS of the contract which you've entered into, it's impossible to provide you with a definitive answer. But, as the quote above shows, there are circumstances when you must continue paying rent right up until the end of the contract (even if you move out on the first day, or never even move in at all).
Chris