idiom
scared out of one's wits
Meaning
to be very frightened
Example
The loud thunder **scared me out of my wits**.