An inlay or onlay is generally a comfortable procedure that's done under local anesthesia to numb the area. Your dentist will use a local anesthetic to numb the area before removing any decay and placing the restoration. Some patients can experience some mild discomfort, but it can be managed by pain relievers.