Ho un brutto mal di denti. Ho bisogno del dentista.

Avere + (mal DI qualcosa / male A qualcosa)
This is a very general structure that is used to say that you have pain in one part of your body. For example, I can say, 'Oggi ho mal di denti. Forse mangio troppi dolci'.