you can gain confidence by

1) Looking in your eyes by looking in a mirror
2) feeling positive about the people around you
3) reading good books
4) meditation
5) making some good target in your life
6) do something good for the society