Sometimes I wake up an have a severe headache were I can not open my eyes because it hurts some much, what could be the cause from it?

Many causes. This kind of headache can occur as the result of structural abnormalities which are made worse by increased pressure in your head which occurs with laying down. It is alo associated with sleep apnea and another kind of headache known as hypnic or alarm clock headache. Cluster ha also possible. If these headaches are new for you it would be best to have them evaluated.