Dentists use local anesthesia to numb the area surrounding the affected tooth before performing a filling, making the procedure virtually painless. Some mild discomfort or sensitivity may be experienced after the procedure, but this should subside within a few days.