Headache with jaw pain
could be a serious condition like Giant cell arteritis
which is a sight threatening condition but mostly occurs in elderly. In young, it could be trigeminal nueralgia, which in young people should concern a physician as being the presenting feature of multiple sclerosis
. A routine check up is highly advisable in your case. Wishing best of health...