We all feel doubts about ourselves from time to time, and confidence is an acquired trait that takes time to build. Here’s how to do it.