Most countries require passports to be valid for six months before the expiry date, so if yours runs out in November and you are going on holiday in August you will need to get a new passport before you leave.