TanDEMX Generated DEM height correction Steps

Thank you. SO would you suggest to apply terrain correction to the unwrapped stack, and then only proceed for DEM creation step?