i find i have to almost syke myself up when i'm pushing myself to do something that is just out of reach. I start by thinking positively by knowing that i can do it, then have an attempt and if i fall i get more and more determined. If i don't manage it i know the next day i will ride that line a bit better. As Ali was saying it just clicks when you make the move for the first time