It seems from the history that you are having continuous headache on putting the head down. This can be because of sinus infection
as in head down position the drainage
of the sinus is affected leading to blockage of the sinus and pain.
Hence I advice you to consult ENT doctor once for examination and treatment accordingly.