The earliest you can apply is 3 months before you travel.

Get my UK Visa