idiom
at your wits' end
Meaning
to be so worried or stressed that you don’t know what to do
Example
I’m **at my wits’ end** trying to finish all this work.