After the dentist has ground the filler, the periodontal ligament still needs some time to heal from the extra pressure applied to it.
This treatment may take from one day to two weeks. As a general rule, if you are still painful for more than two weeks, you should make an appointment with your dentist as this may indicate that your teeth have other problems.