taking possession before closing taking possession after closing

Taking possession of your new home. Is it better to take possession before or after closing on the sale?