The treatment must be completed, and if the pain persists after the end of the treatment period, the dentist must be consulted to determine the root cause