Fetching details from the dictionary...

tooth decay; decayed tooth; dental cavity; dental caries
甘い物を食べすぎて齲歯になってしまった。
I got a cavity from eating too many sweets.
齲歯が痛くて夜も眠れなかった。
The cavity hurt so much I couldn't sleep at night.
子供の齲歯を予防するために歯磨きさせる。
I make my children brush their teeth to prevent cavities.