Fetching details from the dictionary...

being done for; giving up; being in a hopeless situation; not knowing what to do; being brought to one's knees; throwing up (one's) hands
この問題は難しすぎてもうお手上げ状態だ。
This problem is too hard; I'm at my wit's end.
機械が故障してお手上げだったので修理を頼んだ。
The machine broke and I was helpless, so I called for repairs.
お手上げになる前に助けを求めるべきだ。
You should ask for help before giving up.