I keep talking bad about my friends behind their backs and I want to stop

Please help, i've noticed that I keep talking shit about the people i love behind their backs. It's usually just me saying stuff like 'well she wont be happy with whatever we do anyways' and stuff like that where i take like digs at them and I don't want to because I really do love my friends. If you have any advice on how to stop please tell me.