How can I stop talking shit about everyone?

I don’t make it on purpose but two people have already said that I am always talking shit. I think I say only what I think but now I’m concerned.
How can I stop talking shit about everyone?
Post Opinion