My girl has that once in a while at nights. What we frantically do is to pick her up and soothe her by rubbing her back and speaking to her that daddy or mummy is here. Once she is slowly roused to some senses, she will automatically calm down due to the familiar voices and hug. :)