Rotten teeth refer to caries, but some caries may cause pulpitis or periapical inflammation. If you want to relieve the pain, you need to undergo filling treatment or root canal treatment. 1. Filling treatment, if the caries is not serious, you can clean the residual material in the cavity in time, and also need to fill the filling treatment, through the filling repair can block the caries cavity, avoiding the invasion of bacteria and viruses or residual material. 2. Root canal treatment, if the caries situation is more serious, causing pulpitis or periapical periodontitis, you need to consult a doctor in time for root canal treatment, through the filling of the root canal can make the nerve of the tooth anti-inflammatory and filling, so as to relieve the pain. Usually need to pay attention to personal oral hygiene, diet to keep light, it is best not to eat cold cold spicy stimulating food.