When preparing the tooth for the crown and during the placement of the crown, the dentist uses a local anesthetic to minimize pain.