Prohibition is a preventive writ; it is issued to stop an inferior court or tribunal from doing something it is not legally entitled to do. It is issued while the case is still ongoing.