After filling the teeth just after the beginning of hot and cold stimulation pain a few months after the night spontaneous pain may be due to gingivitis, pulpitis and other diseases, patients need to comply with the medical advice of medication, surgical treatment. 1. Gingivitis: Usually, patients can follow the doctor’s instructions to use 1% to 3% hydrogen peroxide to rinse the gingival sulcus in a timely manner, plaque, tartar and other irritants removed. Patients also need to use iodine preparation in the gingival sulcus, and if necessary, with the use of 0.12% ~ 0.2% chlorhexidine and other antibacterial mouthwash treatment. If the patient appears to have obvious dental fiber hyperplasia or the gingival form cannot be restored after the inflammation subsides, gingivoplasty is also required. 2. Pulpitis: Usually, patients can choose direct pulp capping, indirect pulp capping, and pulpotomy under the doctor’s guidance on the premise of preserving the pulp, while root canal treatment can be taken on the premise of preserving the affected tooth. If the patient develops severe endodontic lesions, then apical induction molding, apical barrier surgery, etc. may also be performed. It is recommended that patients avoid hot and cold stimuli after filling, and if spontaneous pain occurs at night after a few months, they also need to follow the doctor’s instructions for reasonable treatment, and the use of medication needs to follow the doctor’s instructions.