Get up the nerve to (do something)

To become brave enough to do something.

I tried to get up the nerve to ask my friend about his new job.