###Human: Why do I have anxiety attacks soon after I wake up? ###Assistant: Hello. You are having multiple problems. So, along with the medicines, you need to do regular exercise and maintain a good sleep hygiene. Also, try identifying the triggers for your headaches and try avoiding them. Secondly, in such situations, SSRIs (selective serotonin reuptake inhibitors) such as Fluoxetine or Paroxetine can be helpful. Psychotherapy is also recommended. For migraine prophylaxis, I suggest Propranolol as it helps to lower the anxiety. Initially, for a few days, I suggest you try Benzodiazepine such as Clonazepam first to take care of your anxiety and insomnia and then the SSRIs. I suggest pain-relieving medication such as Naproxen to be used on an as-needed basis. These are prescription drugs. Consult your specialist doctor, discuss with him/her and take the above medications with their consent. Thanks and regards. For more information consult a psychiatrist online -->