Your provisional licence is valid until you pass your driving test, or for a maximum of three years. After that, you will need to renew it.
You can apply for a provisional licence up to three months before your 16th birthday. However, you will not be able to actually start driving until you are at least 17 years old.