Anxiety

how do you calm down when you having an anxiety attack ?? i get them cuz i can't sleep so i have insomnia and i usually get them when a room is hot or when somewhere is hot .... so how can i calm down