idiom
be at your wits' end
Meaning
to be so worried or upset that you don't know what to do
Example
I'm **at my wits' end** trying to calm the kids down.