thanks for asking your query.
pain in jaw has multiple reasons,it could be of dental origin.tmj
problem,muscle spasm,teeth grinding,congested sinus.
Treatment of headache and jaw pain
varies greatly according to the cause.
Painkillers and antibiotics are given if infection is suspected.
Prompt tooth extraction or a root canal
may be necessary for tooth infections.
Eat soft foods and use a cool compress to help numb the worse of the pain.
Surgery is done only as a last resort for cases of TMJ or chronic sinusitis
In cases of teeth grinding, you can wear a dental appliance to prevent further damage
hope this will help