Your problem is cervical headache... There are two nerves named greater and lesser occipital nerves which carries the pain and touch sensation of posterior head and upto ears, sometimes upto side of head anterior to head...
Next Steps
you should visit pain physician... if you tell me in which city you are then I can brief you about good pain physician..
Health Tips
till then you can start gabapin, ultracet... your headaches will be resolved by greater and lesser occipital nerves block..