Part of being an entrepreneur means learning how to take on the adversity, rejection and low confidence that can often come with the job.