For like for like replacements of the same style and size, then planning permission is not typically needed. However, for new windows it is often required. Different window types will also need permission, for example if switching to bay windows. For full details view the planning portal.