In the vast majority of cases the answer to this question will be ‘no’. If you are replacing a window that has been damaged or is no longer secure then it will frequently not need planning permission. This is called permitted development.