Herxing is when the worms squirt out there toxins to fight to live, if your on meds and an Antibiotic you shld be ok and it does cause inflamation but not serious pain, atleast not in my experience. Its probably tmj related and u may want to consult your doc.