Fetching details from the dictionary...
to lose one's presence of mind; to lose one's composure; to lose one's head; to get flustered