get in a panic vs torment oneself

get in a panic

torment oneself

How often have the words get in a panic and torment oneself occurred in a corpus of books? (source: Google Ngram Viewer )