how we become a positive person?

What works for me is opposing negative thoughts with positive thoughts. So, for instance, if I’m brooding on the past, or feeling self-pity, I deliberately move my mind to remember positive events in the past, or positive things about my current life. This habit can take effort and time to cultivate, but I find it helps me more than anything else.