Firstly you have to find out the reason for headache.
There is possibility of refraction
of error i.e.you have numbers or not.this may cause headache.
Another common cause is sinusitis
,acute or chronic.If you have common cold
problem then also you may get headache.
Due to anxiety
or tension there is headache
So according to probable entity you go for investigation and treatment.
ok and bye.