Throat toghtening

So last night I was awake all night because I literally couldn’t breath. Like I could breath enough to stay alive of course but I can’t get any deep breaths they are all like shallow ones and it’s worse when I lay down. It feels like my lungs aren’t sucking all the way in if that makes sense. But it also feels like my throat is closing up. Idk what it is but what do you all think.