Well, if it is caused by a semi blocked ear, you can test it by doing a valsalva maneuver (Done by taking a deep breath and blowing while pinching your nostrils and closing your mouth) to relieve pressure from internal ear and blocked Eustachian tube (tube connecting
ear to throat). Sometimes taking stream prior to the maneuver helps. If this clears the
ache, then it is fine. Otherwise it can be a tension headache or a tooth ache causing it or a pinched nerve or high BP.