Rebuild on the same foot print part of an existing house do i need planning permission

We bought a house with a wing knocked down. We would like to rebuild this wing. Can we do this without planning permission and is there a time element between the demolition and the rebuild.