A tooth may remain sensitive for a week or more after it has been filled.
This can happen after decay has spread close to the pulp.
The dentine near the pulp chamber is very sensitive.
It needs time to lay down a protective layer of dentine, after the filling has been completed. This will provide insulation against temperature changes and reduce sensitivity.