Spend time to figure out the reasons. Why do you feel bad about yourself? When it started? What changed in your life that contributed to your transition from a happy person to unhappy? What should change to make you confident and happy? This will give you a list of particular actions you should take to solve your problem.