In that case it is probably a positional headache and related to blood pressure and/or oxygen supply to your head, especially if you feel pressure in one or both ears that subsides as soon as you stand up. I would give your doctor a call to be on the safe side.
__________________
If you found this answer helpful, PLEASE CLICK on ACCEPT and leave FEEDBACK. Accepting an answer that you are able to use improves both of our ratings. Thanks!
Lori