What do you mean by "regular confidence interval"? If your question is when to use z-table and when to use t-table, it depends on the metrics we have. If we have population metrics, that we call them parameters, we should use z-table. If we are estimating population metrics such as mean and standard deviation using the sample, then we should use t-table.