Dental work and flares

Hi!  I am new and fumbling around to use the site. 


I had some dental work done and went into a flare.  Has anyone else experienced this?  If so, how do you prevent it from happening?