Your Herpes history should be co-related with the pain in the jaw.
If you have pain in the jaw before the Herpes infection then it was a different problem.
Herpes once infected remains dormant and causes infection whenever the immunity status of the individual falls below normal.(conditions like pregnancy, child birth etc)
You have to visit a neurologist for the best possible diagnosis for your treatment!