There 2 type of dental restoration, the direct and Indirect.

The Direct restoration be done in one dentist visit only. Direct tooth restoration involves placing a filling into a prepared tooth cavity immediately.
The Indirect restoration requires more than one dentist visit because the inlay or onlay must be fabricated in a lab. Indirect tooth restoration involves customized tooth replacements in the form of crowns, onlays, or inlays.