Planning permission is not normally required for repairing, fitting or replacing doors and windows (including double glazing).
However, if the building is listed or is in a conservation area (or other designated area) you should consult with your local planning authority.