To be at the end of one's rope

Definition: to be desperate, not knowing what to do next

Explanation: Used when a person is in a very difficult situation and does not know how to resolve that situation

Examples:

- I just don't know what to do. I'm at the end of my rope.

- She's at the end of her rope over the divorce.