Anxiety disorder

hello I've been fine all day but got a headache out of nowhere and now I'm having anxiety from it I smoked a cigar yesterday night for the first time in awhile and idk if im.getting the anxiety from that or what has anyone had that?