'To be one's wit's end' mean .---

Answer: 
Not to know what to do
'To be one's wit's end' mean .---