Question: Can one visit the dentist while fasting?
Answer: The dental visit itself is fine, but if liquid or blood goes down the throat, the fast is broken. One should postpone the dental visit until after the fast, unless it is very serious. In any case, the fast is broken if something goes down the throat.
(Radd al-Muḥtār, Kitāb aṣ-Ṣawm, vol. 3, p. 422).