Action that goes against your current beliefs will help to instill new beliefs and overcome challenges.
So to answer "How to become confident and take risks?" - is to take risk without waiting to become confident first.
"True Power = Ability to Take Action" (Tony Robbins)