The prohibition is issued before the final order is passed for stopping the further continuance of the proceedings, whereas the certiorari is issued after the final order is passed for quashing the same.