That is an excellent question and one that is best answered by your primary care doctor
or other medical care provider, such as a neurologist
. There are several causes of headache and it is difficult to know what is causing your headaches based upon the limited history provided, but your doctor will be able to better elucidate the cause of your headache based upon your history and physical examination. He or she may decide to perform further testing such as imaging studies or blood tests to find the cause of these headaches, and for this reason it is very important that you are evaluated soon for your headaches. In general, the causes of headaches are varied and beyond the scope of this discussion, but can be related to migraines, tension headaches, dehydration headaches, withdrawal from medications such as caffeine and a variety of less common but more serious headaches such as bleeding
into the brain or mass lesions within the brain. Only your doctor can evaluate you and decide what the possible cause of these headaches are and based upon what he finds. will be able to decide how to treat these headaches.