Not all headaches
are because of brain tumor
. You should also avoid relating your symptoms with other's problem. Your friend was just unlucky.
You should get up slowly and if you still experience headache you should check with the doctor. You can take simple Tylenol
to reduce the apprehension. If still you continue to have pain please see a doctor along with your parent.