I suppose that Germany is a great example of how to rebuild. Of course one huge factor was financing the rebuild. Somebody has to pay for all of the labor and materials. The age of the pharaohs and slave labor for construction is long gone. The financing came courtesy of the Marshall plan and the USA. Materials and labor are usually sourced locally. The local population has to go back to work. Some stuff can be rebuilt fairly quickly. I saw that firsthand in various towns and cities in Bosnia. Of course before any construction or demolition of destroyed structures and infrastructure can begin, the whole area has to be swept and cleared of unexplored ordnance. Depending upon multiple factors, that can be a very time consuming process. WWII aerial bombs are still being found in Germany today. WWI UXO still turns up on occasion in the former battlefields of France and Belgium. Some things will take decades to rebuild or restore. I remember visiting St Michael's cathedral in Munich in 1984, and it was still undergoing restoration to pre war condition at that time, nearly 40 years after the fact. When I returned again in 2005, it was finally restored to its' original glory.
So what will it take? Time, effort, financing, and determination. Of course that can't even truly begin until the guns are silent.