To psych oneself up or build up the confidence to do something.
Mum, I’ll jump off these stairs soon, I’m just getting my darey up.