I'm so negative

I am tired of being so negative about everything that surrounds me. I keep pushing everyone away from me that won't agree with me. It's so hard for me to change since this pattern has being part of me for years. Any advice I'll really appreciate it