Build all the fortifications you can such as a ringwall. They'll increase the amount of time defenders can withstand a siege.