Jaw pain could be because of many reasons like habit of clenching your teeth at night or deep bite or unsettled upper and lower teeth coordination, sometimes even a single faulty filling (the one with high points) can cause jaw pain and headache, or some problem in the jaw joint.
Kindly visit an Orthodontist/ TMJ Specialist for a detailed evaluation.
Next Steps
Visit an Orthodontist/TMJ Specialist